From 1ad5c7c9aa41f9c9cb9203c47c61b8418c36b30f Mon Sep 17 00:00:00 2001 From: omegadox Date: Sun, 5 Apr 2009 20:14:23 +0000 Subject: [PATCH] VideoCommon: Fixed a case when in debug build. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2887 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/VideoCommon/Src/BPStructs.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Source/Core/VideoCommon/Src/BPStructs.cpp b/Source/Core/VideoCommon/Src/BPStructs.cpp index d33519104a..19da24c529 100644 --- a/Source/Core/VideoCommon/Src/BPStructs.cpp +++ b/Source/Core/VideoCommon/Src/BPStructs.cpp @@ -265,6 +265,7 @@ void BPWritten(const BreakPoint& bp) PixelShaderManager::SetZTextureBias(bpmem.ztex1.bias); break; case BPMEM_ZTEX2: + { if (bp.changes & 3) PixelShaderManager::SetZTextureTypeChanged(); #if defined(_DEBUG) || defined(DEBUGFAST) @@ -273,6 +274,7 @@ void BPWritten(const BreakPoint& bp) PRIM_LOG("ztex op=%s, type=%s", pzop[bpmem.ztex2.op], pztype[bpmem.ztex2.type]); #endif break; + } // -------------------------------------- // BPs that only flush and update memory