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:
parent
c4cd8d84e4
commit
426f187642
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue