diff options
Diffstat (limited to 'Source/Core/VideoCommon/PostProcessing.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/PostProcessing.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/Core/VideoCommon/PostProcessing.cpp b/Source/Core/VideoCommon/PostProcessing.cpp index 69e4327bdd..0a1e995c15 100644 --- a/Source/Core/VideoCommon/PostProcessing.cpp +++ b/Source/Core/VideoCommon/PostProcessing.cpp @@ -709,6 +709,9 @@ bool PostProcessing::CompilePixelShader() bool PostProcessing::CompilePipeline() { + if (m_framebuffer_format == AbstractTextureFormat::Undefined) + return true; // Not needed (some backends don't like making pipelines with no targets) + AbstractPipelineConfig config = {}; config.vertex_shader = m_vertex_shader.get(); config.geometry_shader = |
