diff options
| author | 2019-03-02 00:01:34 -0500 | |
|---|---|---|
| committer | 2019-03-02 00:01:34 -0500 | |
| commit | ab70c2583d69c9b53c4786bf92464cbe28f87ebf (patch) | |
| tree | 966387bb54a795a5f5b482e149230fc8ba09eb65 | |
| parent | Merge pull request #2173 from lioncash/capture (diff) | |
| download | yuzu-ab70c2583d69c9b53c4786bf92464cbe28f87ebf.tar.gz yuzu-ab70c2583d69c9b53c4786bf92464cbe28f87ebf.tar.xz yuzu-ab70c2583d69c9b53c4786bf92464cbe28f87ebf.zip | |
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 | |||
| 966 | const auto& regs{gpu.regs}; | 966 | const auto& regs{gpu.regs}; |
| 967 | 967 | ||
| 968 | if (!gpu.dirty_flags.color_buffer[index]) { | 968 | if (!gpu.dirty_flags.color_buffer[index]) { |
| 969 | return last_color_buffers[index]; | 969 | return current_color_buffers[index]; |
| 970 | } | 970 | } |
| 971 | gpu.dirty_flags.color_buffer.reset(index); | 971 | gpu.dirty_flags.color_buffer.reset(index); |
| 972 | 972 | ||