1
0
mirror of https://github.com/blawar/GLideN64.git synced 2024-07-04 10:03:36 +00:00

Use frame buffer from input parameters when call

_updateScreenCoordsViewport from GraphicsDrawer::drawTexturedRect.

Fixed incorrect picture size when color buffer copied from RDRAM.
Buffer copy uses drawTexturedRect
This commit is contained in:
Sergey Lipskiy 2018-09-26 13:48:42 +07:00
parent 5e1c8a6b58
commit 6ac8efe081

View File

@ -1344,7 +1344,7 @@ void GraphicsDrawer::drawTexturedRect(const TexturedRectParams & _params)
if (bUseTexrectDrawer && m_texrectDrawer.add())
return;
_updateScreenCoordsViewport();
_updateScreenCoordsViewport(_params.pBuffer);
Context::DrawRectParameters rectParams;
rectParams.mode = drawmode::TRIANGLE_STRIP;
rectParams.verticesCount = 4;