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:
parent
5e1c8a6b58
commit
6ac8efe081
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user