1
0
Fork 0
forked from suyu/suyu

fuck git for ruining my day, I will learn but I will not forgive

This commit is contained in:
bunnei 2019-03-02 00:01:34 -05:00
parent 1da8a0c2a8
commit ab70c2583d

View file

@ -966,7 +966,7 @@ Surface RasterizerCacheOpenGL::GetColorBufferSurface(std::size_t index, bool pre
const auto& regs{gpu.regs}; const auto& regs{gpu.regs};
if (!gpu.dirty_flags.color_buffer[index]) { if (!gpu.dirty_flags.color_buffer[index]) {
return last_color_buffers[index]; return current_color_buffers[index];
} }
gpu.dirty_flags.color_buffer.reset(index); gpu.dirty_flags.color_buffer.reset(index);