summaryrefslogtreecommitdiffstats
path: root/src/video_core
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2019-03-02 06:01:34 +0100
committerbunnei <bunneidev@gmail.com>2019-03-02 06:01:34 +0100
commitab70c2583d69c9b53c4786bf92464cbe28f87ebf (patch)
tree966387bb54a795a5f5b482e149230fc8ba09eb65 /src/video_core
parentMerge pull request #2173 from lioncash/capture (diff)
downloadyuzu-ab70c2583d69c9b53c4786bf92464cbe28f87ebf.tar
yuzu-ab70c2583d69c9b53c4786bf92464cbe28f87ebf.tar.gz
yuzu-ab70c2583d69c9b53c4786bf92464cbe28f87ebf.tar.bz2
yuzu-ab70c2583d69c9b53c4786bf92464cbe28f87ebf.tar.lz
yuzu-ab70c2583d69c9b53c4786bf92464cbe28f87ebf.tar.xz
yuzu-ab70c2583d69c9b53c4786bf92464cbe28f87ebf.tar.zst
yuzu-ab70c2583d69c9b53c4786bf92464cbe28f87ebf.zip
Diffstat (limited to 'src/video_core')
-rw-r--r--src/video_core/renderer_opengl/gl_rasterizer_cache.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/renderer_opengl/gl_rasterizer_cache.cpp b/src/video_core/renderer_opengl/gl_rasterizer_cache.cpp
index 5fdf1164d..b5a9722f9 100644
--- a/src/video_core/renderer_opengl/gl_rasterizer_cache.cpp
+++ b/src/video_core/renderer_opengl/gl_rasterizer_cache.cpp
@@ -966,7 +966,7 @@ Surface RasterizerCacheOpenGL::GetColorBufferSurface(std::size_t index, bool pre
const auto& regs{gpu.regs};
if (!gpu.dirty_flags.color_buffer[index]) {
- return last_color_buffers[index];
+ return current_color_buffers[index];
}
gpu.dirty_flags.color_buffer.reset(index);