mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2025-02-08 15:58:28 +01:00
Merge pull request #2182 from bunnei/my-wasted-friday
fuck git for ruining my day, I will learn but I will not forgive
This commit is contained in:
commit
3c39b39bbc
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue