From 389966d71c4c3ac0e2fc1c593b793d90359ebc83 Mon Sep 17 00:00:00 2001 From: Sergey Lipskiy Date: Sun, 12 Apr 2015 23:19:18 +0600 Subject: [PATCH] Don't check depth buffer width in interlaced mode. Fix for commit 2727b254 Fixed lode runner: issue #386 --- VI.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VI.cpp b/VI.cpp index 3591e80b..e0331f28 100644 --- a/VI.cpp +++ b/VI.cpp @@ -71,7 +71,7 @@ void VI_UpdateSize() if (config.frameBufferEmulation.enable && ((interlacedPrev != VI.interlaced) || (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)) ) { fbList.removeBuffers(VI.widthPrev);