mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-25 15:15:40 +00:00
GPU: Flush rendering before VRAM reads
This commit is contained in:
parent
4d38213f23
commit
2c07db6dd5
|
@ -669,6 +669,9 @@ bool GPU::HandleCopyRectangleVRAMToCPUCommand()
|
|||
return true;
|
||||
}
|
||||
|
||||
// all rendering should be done first...
|
||||
FlushRender();
|
||||
|
||||
// TODO: A better way of doing this..
|
||||
std::vector<u32> temp(num_words);
|
||||
ReadVRAM(src_x, src_y, width, height, temp.data());
|
||||
|
|
Loading…
Reference in a new issue