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

Don't check depth buffer width in interlaced mode.

Fix for commit 2727b254

Fixed lode runner: issue #386
This commit is contained in:
Sergey Lipskiy 2015-04-12 23:19:18 +06:00
parent 57c4d07968
commit 389966d71c

2
VI.cpp
View File

@ -71,7 +71,7 @@ void VI_UpdateSize()
if (config.frameBufferEmulation.enable && if (config.frameBufferEmulation.enable &&
((interlacedPrev != VI.interlaced) || ((interlacedPrev != VI.interlaced) ||
(VI.width > 0 && VI.width != VI.widthPrev) || (VI.width > 0 && VI.width != VI.widthPrev) ||
(pDepthBuffer != NULL && pDepthBuffer->m_width != VI.width) || (!VI.interlaced && pDepthBuffer != NULL && pDepthBuffer->m_width != VI.width) ||
(pBuffer != NULL && pBuffer->m_height != VI.height)) (pBuffer != NULL && pBuffer->m_height != VI.height))
) { ) {
fbList.removeBuffers(VI.widthPrev); fbList.removeBuffers(VI.widthPrev);