mirror of
https://github.com/blawar/GLideN64.git
synced 2024-07-07 03:13:49 +00:00
parent
2acc3c7775
commit
8a1f7f1067
|
@ -728,8 +728,6 @@ void FrameBufferList::attachDepthBuffer()
|
||||||
return;
|
return;
|
||||||
|
|
||||||
DepthBuffer * pDepthBuffer = depthBufferList().getCurrent();
|
DepthBuffer * pDepthBuffer = depthBufferList().getCurrent();
|
||||||
if (pCurrent->m_pDepthBuffer == pDepthBuffer)
|
|
||||||
return;
|
|
||||||
|
|
||||||
if (pCurrent->m_FBO.isNotNull() && pDepthBuffer != nullptr) {
|
if (pCurrent->m_FBO.isNotNull() && pDepthBuffer != nullptr) {
|
||||||
pDepthBuffer->initDepthImageTexture(pCurrent);
|
pDepthBuffer->initDepthImageTexture(pCurrent);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user