diff options
author | bunnei <bunneidev@gmail.com> | 2019-03-02 06:57:15 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-02 06:57:15 +0100 |
commit | 3c39b39bbc4363aeaf0a163d283b40c3d4453d49 (patch) | |
tree | 5ab901b3e667da4be131188df34050843a88e080 /src | |
parent | Merge pull request #2178 from ReinUsesLisp/vk-buffer-cache (diff) | |
parent | fuck git for ruining my day, I will learn but I will not forgive (diff) | |
download | yuzu-3c39b39bbc4363aeaf0a163d283b40c3d4453d49.tar yuzu-3c39b39bbc4363aeaf0a163d283b40c3d4453d49.tar.gz yuzu-3c39b39bbc4363aeaf0a163d283b40c3d4453d49.tar.bz2 yuzu-3c39b39bbc4363aeaf0a163d283b40c3d4453d49.tar.lz yuzu-3c39b39bbc4363aeaf0a163d283b40c3d4453d49.tar.xz yuzu-3c39b39bbc4363aeaf0a163d283b40c3d4453d49.tar.zst yuzu-3c39b39bbc4363aeaf0a163d283b40c3d4453d49.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); |