mirror of
https://github.com/blawar/GLideN64.git
synced 2024-07-02 09:03:37 +00:00
Force clear depth buffer, if there is no corresponding color buffer for it.
Fixed GoldenEye Multiplayer - 3&4 player not rendering #1173
This commit is contained in:
parent
d2bca602a1
commit
f2ba87c241
|
@ -468,6 +468,8 @@ void DepthBufferList::saveBuffer(u32 _address)
|
|||
DepthBuffer * pCurrent = m_pCurrent;
|
||||
m_pCurrent = pDepthBuffer;
|
||||
frameBufferList().attachDepthBuffer();
|
||||
if (pFrameBuffer == nullptr)
|
||||
gfxContext.clearDepthBuffer();
|
||||
if (pDepthBuffer->m_address != gDP.depthImageAddress)
|
||||
m_pCurrent = pCurrent;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user