VideoCommon: Fixed a case when in debug build.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2887 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
omegadox 2009-04-05 20:14:23 +00:00
parent 8b6b8b61c3
commit 1ad5c7c9aa

View File

@ -265,6 +265,7 @@ void BPWritten(const BreakPoint& bp)
PixelShaderManager::SetZTextureBias(bpmem.ztex1.bias); PixelShaderManager::SetZTextureBias(bpmem.ztex1.bias);
break; break;
case BPMEM_ZTEX2: case BPMEM_ZTEX2:
{
if (bp.changes & 3) if (bp.changes & 3)
PixelShaderManager::SetZTextureTypeChanged(); PixelShaderManager::SetZTextureTypeChanged();
#if defined(_DEBUG) || defined(DEBUGFAST) #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]); PRIM_LOG("ztex op=%s, type=%s", pzop[bpmem.ztex2.op], pztype[bpmem.ztex2.type]);
#endif #endif
break; break;
}
// -------------------------------------- // --------------------------------------
// BPs that only flush and update memory // BPs that only flush and update memory