mirror of
https://github.com/blawar/GLideN64.git
synced 2024-07-02 09:03:37 +00:00
Force clear depth buffer for aux buffers.
Fixed uncleaned depth buffer problem when depth buffer cleared partially via fillrect.
This commit is contained in:
parent
a471b130e7
commit
9faeb2bfb9
|
@ -639,6 +639,9 @@ void FrameBufferList::saveBuffer(u32 _address, u16 _format, u16 _size, u16 _widt
|
|||
);
|
||||
#endif
|
||||
|
||||
if (m_pCurrent->isAuxiliary())
|
||||
ogl.getRender().clearDepthBuffer(0, 0);
|
||||
|
||||
m_pCurrent->m_isDepthBuffer = _address == gDP.depthImageAddress;
|
||||
m_pCurrent->m_isPauseScreen = m_pCurrent->m_isOBScreen = false;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user