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

Correct RDRAMtoFrameBuffer::CopyFromRDRAM -

need to update combiner's FBInfo before use.
This commit is contained in:
Sergey Lipskiy 2015-05-06 19:48:40 +06:00
parent eabbd252f8
commit 49efba0ce6

View File

@ -1310,6 +1310,7 @@ void RDRAMtoFrameBuffer::CopyFromRDRAM( u32 _address, bool _bUseAlpha)
CombinerInfo::get().setCombine(EncodeCombineMode(0, 0, 0, TEXEL0, 0, 0, 0, 1, 0, 0, 0, TEXEL0, 0, 0, 0, 1));
glDisable(GL_BLEND);
}
currentCombiner()->updateFBInfo();
glDisable(GL_DEPTH_TEST);
const u32 gspChanged = gSP.changed & CHANGED_CPU_FB_WRITE;