mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-22 13:55:38 +00:00
GPU: Flush rendering before filling rectangle
This commit is contained in:
parent
e286d6389c
commit
24bda8f659
|
@ -727,6 +727,8 @@ bool GPU::HandleFillRectangleCommand()
|
|||
if (m_GP0_command.size() < 3)
|
||||
return false;
|
||||
|
||||
FlushRender();
|
||||
|
||||
const u32 color = m_GP0_command[0] & UINT32_C(0x00FFFFFF);
|
||||
const u32 dst_x = m_GP0_command[1] & UINT32_C(0xFFFF);
|
||||
const u32 dst_y = m_GP0_command[1] >> 16;
|
||||
|
|
Loading…
Reference in a new issue