Browse Source
Merge pull request #2182 from bunnei/my-wasted-friday
fuck git for ruining my day, I will learn but I will not forgive
pull/15/merge
bunnei
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
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); |
|
|
|
|
|
|
|
|