diff options
author | bunnei <[email protected]> | 2019-03-02 00:57:15 -0500 |
---|---|---|
committer | GitHub <[email protected]> | 2019-03-02 00:57:15 -0500 |
commit | 3c39b39bbc4363aeaf0a163d283b40c3d4453d49 (patch) | |
tree | 5ab901b3e667da4be131188df34050843a88e080 | |
parent | e22670fbc35148d96c53482ad828c004a272c458 (diff) | |
parent | ab70c2583d69c9b53c4786bf92464cbe28f87ebf (diff) | |
download | yuzu-android-3c39b39bbc4363aeaf0a163d283b40c3d4453d49.tar.gz yuzu-android-3c39b39bbc4363aeaf0a163d283b40c3d4453d49.zip |
Merge pull request #2182 from bunnei/my-wasted-friday
fuck git for ruining my day, I will learn but I will not forgive
-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); |