diff options
author | bunnei <bunneidev@gmail.com> | 2019-03-02 06:01:34 +0100 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2019-03-02 06:01:34 +0100 |
commit | ab70c2583d69c9b53c4786bf92464cbe28f87ebf (patch) | |
tree | 966387bb54a795a5f5b482e149230fc8ba09eb65 /src | |
parent | Merge pull request #2173 from lioncash/capture (diff) | |
download | yuzu-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 '')
-rw-r--r-- | src/video_core/renderer_opengl/gl_rasterizer_cache.cpp | 2 |
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); |