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

Fix in RDRAMtoColorBuffer::_copyFromRDRAM - draw rect in copy mode.

This commit is contained in:
Sergey Lipskiy 2018-09-29 15:53:51 +07:00
parent f2ba87c241
commit 9d7eb5b882

View File

@ -243,7 +243,6 @@ void RDRAMtoColorBuffer::_copyFromRDRAM(u32 _height, bool _fullAlpha)
gDP.otherMode.cycleType = G_CYC_COPY;
CombinerInfo::get().setPolygonMode(DrawingState::TexRect);
CombinerInfo::get().update();
gDP.otherMode.cycleType = cycleType;
Context::UpdateTextureDataParams updateParams;
updateParams.handle = m_pTexture->name;
@ -281,6 +280,7 @@ void RDRAMtoColorBuffer::_copyFromRDRAM(u32 _height, bool _fullAlpha)
false, true, false, m_pCurBuffer);
dwnd().getDrawer().drawTexturedRect(texRectParams);
gfxContext.enable(enable::SCISSOR_TEST, true);
gDP.otherMode.cycleType = cycleType;
frameBufferList().setCurrentDrawBuffer();