mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
use EFBRectangle for scissor rect
This one is backend independed. The backend should recalc such things on their own.
This commit is contained in:
@ -47,8 +47,7 @@ void SetScissor()
|
||||
if (rc.left > rc.right) rc.right = rc.left;
|
||||
if (rc.top > rc.bottom) rc.bottom = rc.top;
|
||||
|
||||
TargetRectangle trc = g_renderer->ConvertEFBRectangle(rc);
|
||||
g_renderer->SetScissorRect(trc);
|
||||
g_renderer->SetScissorRect(rc);
|
||||
}
|
||||
|
||||
void SetLineWidth()
|
||||
|
Reference in New Issue
Block a user