use EFBRectangle for scissor rect

This one is backend independed. The backend should recalc such things on their own.
This commit is contained in:
degasus
2014-02-04 21:17:38 +01:00
parent 1f4219b5b4
commit 3551259c7a
6 changed files with 10 additions and 9 deletions

View File

@ -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()