Update the viewport when the scissor offset is changed

Fixes a bug with Another Code: R that was noticed when gx-optimization was
merged.
This commit is contained in:
Pierre Bourdon
2012-05-27 08:03:26 +02:00
parent 00f6b7b6ea
commit bfde41895f
3 changed files with 9 additions and 0 deletions

View File

@ -62,6 +62,8 @@ void SetScissor()
TargetRectangle trc = g_renderer->ConvertEFBRectangle(rc);
g_renderer->SetScissorRect(trc);
UpdateViewportWithCorrection();
}
void SetLineWidth()