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

Don't reset m_cleared flag for selected frame buffer.

Fixed fb issues in ISS 2000, #214
This commit is contained in:
Sergey Lipskiy 2015-03-17 19:36:17 +06:00
parent d4f0407b1f
commit e27d235544

View File

@ -182,6 +182,7 @@ void FrameBuffer::init(u32 _address, u32 _endAddress, u16 _format, u16 _size, u1
m_fillcolor = 0;
m_cfb = _cfb;
m_needHeightCorrection = _width != VI.width;
m_cleared = false;
_initTexture(_format, _size, m_pTexture);
glBindFramebuffer(GL_FRAMEBUFFER, m_FBO);
@ -409,7 +410,6 @@ void FrameBufferList::saveBuffer(u32 _address, u16 _format, u16 _size, u16 _widt
if (bMarioTennisScoreboard)
g_RDRAMtoFB.CopyFromRDRAM(m_pCurrent->m_startAddress + 4, false);
m_pCurrent->m_cleared = false;
m_pCurrent->m_isDepthBuffer = _address == gDP.depthImageAddress;
m_pCurrent->m_isPauseScreen = m_pCurrent->m_isOBScreen = false;