mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
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:
@ -429,6 +429,7 @@ void BPWritten(const BPCmd& bp)
|
||||
break;
|
||||
|
||||
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);
|
||||
break;
|
||||
|
||||
|
Reference in New Issue
Block a user