Skip to content

Commit

Permalink
Apply color mask when alpha test parameters change. Required to make …
Browse files Browse the repository at this point in the history
…the changes in revision be706a3 work properly.

Fixes issue 6080.
  • Loading branch information
neobrain committed May 1, 2013
1 parent e70a277 commit 2c7ed2a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Source/Core/VideoCommon/Src/BPStructs.cpp
Expand Up @@ -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,
bpmem.alpha_test.ref1, bpmem.alpha_test.comp0, bpmem.alpha_test.comp1, bpmem.alpha_test.logic);
PixelShaderManager::SetAlpha(bpmem.alpha_test);
g_renderer->SetColorMask();
break;
case BPMEM_BIAS: // BIAS
PRIM_LOG("ztex bias=0x%x", bpmem.ztex1.bias);
Expand Down

0 comments on commit 2c7ed2a

Please sign in to comment.