Apply color mask when alpha test parameters change. Required to make the changes in revision be706a3977 work properly.

Fixes issue 6080.
This commit is contained in:
NeoBrainX 2013-05-01 11:42:00 +02:00
parent e70a277af2
commit 2c7ed2a793
1 changed files with 1 additions and 0 deletions

View File

@ -356,6 +356,7 @@ void BPWritten(const BPCmd& bp)
PRIM_LOG("alphacmp: ref0=%d, ref1=%d, comp0=%d, comp1=%d, logic=%d", bpmem.alpha_test.ref0, PRIM_LOG("alphacmp: ref0=%d, ref1=%d, comp0=%d, comp1=%d, logic=%d", bpmem.alpha_test.ref0,
bpmem.alpha_test.ref1, bpmem.alpha_test.comp0, bpmem.alpha_test.comp1, bpmem.alpha_test.logic); bpmem.alpha_test.ref1, bpmem.alpha_test.comp0, bpmem.alpha_test.comp1, bpmem.alpha_test.logic);
PixelShaderManager::SetAlpha(bpmem.alpha_test); PixelShaderManager::SetAlpha(bpmem.alpha_test);
g_renderer->SetColorMask();
break; break;
case BPMEM_BIAS: // BIAS case BPMEM_BIAS: // BIAS
PRIM_LOG("ztex bias=0x%x", bpmem.ztex1.bias); PRIM_LOG("ztex bias=0x%x", bpmem.ztex1.bias);