mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-09 09:39:13 +00:00
Small fix for the last commit, and a little fix for disable fog to really disable it :)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4662 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
a1d612e946
commit
0bc7fa7bf5
6 changed files with 38 additions and 42 deletions
|
@ -281,7 +281,8 @@ void BPWritten(const BPCmd& bp)
|
|||
PixelShaderManager::SetFogParamChanged();
|
||||
break;
|
||||
case BPMEM_FOGCOLOR: // Fog Color
|
||||
PixelShaderManager::SetFogColorChanged();
|
||||
if (!GetConfig(CONFIG_DISABLEFOG))
|
||||
PixelShaderManager::SetFogColorChanged();
|
||||
break;
|
||||
case BPMEM_ALPHACOMPARE: // Compare Alpha Values
|
||||
PRIM_LOG("alphacmp: ref0=%d, ref1=%d, comp0=%d, comp1=%d, logic=%d", bpmem.alphaFunc.ref0,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue