diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2021-07-12 04:26:13 +0200 |
---|---|---|
committer | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-07-23 03:51:40 +0200 |
commit | 8c166c68d46d160162caa9b588f1e762c57e52f4 (patch) | |
tree | 361f4ade534b0b003e1151e873703ef1198ccbd9 /src | |
parent | shader_recompiler, video_core: Resolve clang errors (diff) | |
download | yuzu-8c166c68d46d160162caa9b588f1e762c57e52f4.tar yuzu-8c166c68d46d160162caa9b588f1e762c57e52f4.tar.gz yuzu-8c166c68d46d160162caa9b588f1e762c57e52f4.tar.bz2 yuzu-8c166c68d46d160162caa9b588f1e762c57e52f4.tar.lz yuzu-8c166c68d46d160162caa9b588f1e762c57e52f4.tar.xz yuzu-8c166c68d46d160162caa9b588f1e762c57e52f4.tar.zst yuzu-8c166c68d46d160162caa9b588f1e762c57e52f4.zip |
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() { SetXfbState(graphics_key.xfb_state, regs); } if (current_pipeline && graphics_key == current_pipeline->Key()) { - return current_pipeline->IsBuilt() ? current_pipeline : nullptr; + return BuiltPipeline(current_pipeline); } return CurrentGraphicsPipelineSlowPath(); } |