diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/video_core/renderer_opengl/gl_shader_cache.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/renderer_opengl/gl_shader_cache.cpp b/src/video_core/renderer_opengl/gl_shader_cache.cpp index 58a4f0fb4..24f035c37 100644 --- a/src/video_core/renderer_opengl/gl_shader_cache.cpp +++ b/src/video_core/renderer_opengl/gl_shader_cache.cpp | |||
| @@ -318,7 +318,7 @@ GraphicsPipeline* ShaderCache::CurrentGraphicsPipeline() { | |||
| 318 | SetXfbState(graphics_key.xfb_state, regs); | 318 | SetXfbState(graphics_key.xfb_state, regs); |
| 319 | } | 319 | } |
| 320 | if (current_pipeline && graphics_key == current_pipeline->Key()) { | 320 | if (current_pipeline && graphics_key == current_pipeline->Key()) { |
| 321 | return current_pipeline->IsBuilt() ? current_pipeline : nullptr; | 321 | return BuiltPipeline(current_pipeline); |
| 322 | } | 322 | } |
| 323 | return CurrentGraphicsPipelineSlowPath(); | 323 | return CurrentGraphicsPipelineSlowPath(); |
| 324 | } | 324 | } |