1
0
mirror of https://github.com/blawar/GLideN64.git synced 2024-07-02 09:03:37 +00:00

Update viewport when exiting texrect after texturedRectSpecial call.

Fixed Paper Mario zoom-in when Mario approaches screen #1789
This commit is contained in:
Sergey Lipskiy 2018-05-01 18:01:54 +07:00
parent 9bda0568a8
commit 725ff742a8

View File

@ -1143,7 +1143,7 @@ void GraphicsDrawer::drawTexturedRect(const TexturedRectParams & _params)
gfxContext.enable(enable::CULL_FACE, false);
if (_params.texrectCmd && texturedRectSpecial != nullptr && texturedRectSpecial(_params)) {
gSP.changed |= CHANGED_GEOMETRYMODE;
gSP.changed |= CHANGED_GEOMETRYMODE | CHANGED_VIEWPORT;
return;
}