mirror of
https://github.com/blawar/GLideN64.git
synced 2024-07-07 03:13:49 +00:00
Correct depth buffer attachment.
Fixed Link's portrait is missing in the pause screen #1134
This commit is contained in:
parent
16406bb1b0
commit
f426d61881
|
@ -399,10 +399,11 @@ void DepthBufferList::saveBuffer(u32 _address)
|
||||||
pDepthBuffer = &buffer;
|
pDepthBuffer = &buffer;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (pDepthBuffer->m_address == gDP.depthImageAddress) {
|
DepthBuffer * pCurrent = m_pCurrent;
|
||||||
m_pCurrent = pDepthBuffer;
|
m_pCurrent = pDepthBuffer;
|
||||||
frameBufferList().attachDepthBuffer();
|
frameBufferList().attachDepthBuffer();
|
||||||
}
|
if (pDepthBuffer->m_address != gDP.depthImageAddress)
|
||||||
|
m_pCurrent = pCurrent;
|
||||||
|
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
DebugMsg( DEBUG_HIGH | DEBUG_HANDLED, "DepthBuffer_SetBuffer( 0x%08X ); color buffer is 0x%08X\n",
|
DebugMsg( DEBUG_HIGH | DEBUG_HANDLED, "DepthBuffer_SetBuffer( 0x%08X ); color buffer is 0x%08X\n",
|
||||||
|
|
Loading…
Reference in New Issue
Block a user