GPU: Flush rendering before filling rectangle
This commit is contained in:
parent
e286d6389c
commit
24bda8f659
1 changed files with 2 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue