From ab70c2583d69c9b53c4786bf92464cbe28f87ebf Mon Sep 17 00:00:00 2001 From: bunnei Date: Sat, 2 Mar 2019 00:01:34 -0500 Subject: fuck git for ruining my day, I will learn but I will not forgive --- src/video_core/renderer_opengl/gl_rasterizer_cache.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/video_core') 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); -- cgit v1.2.3