VideoCommon: Update color writing mask if pixel format changes.

Possibly fixes issue 4340.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7436 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
NeoBrainX 2011-04-03 18:08:04 +00:00
parent c4cd8d84e4
commit 426f187642
1 changed files with 1 additions and 0 deletions

View File

@ -429,6 +429,7 @@ void BPWritten(const BPCmd& bp)
break; break;
case BPMEM_ZCOMPARE: // Set the Z-Compare and EFB pixel format case BPMEM_ZCOMPARE: // Set the Z-Compare and EFB pixel format
g_renderer->SetColorMask(); // alpha writing needs to be disabled if the new pixel format doesn't have an alpha channel
OnPixelFormatChange(bp); OnPixelFormatChange(bp);
break; break;