mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 09:09:52 -06:00
Added option to disable fog as it's been requested a few times (mainly for RE games, see issue 715 and issue 181)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2814 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -247,11 +247,12 @@ void BPWritten(int addr, int changes, int newval)
|
||||
case BPMEM_FOGBEXPONENT:
|
||||
case BPMEM_FOGBMAGNITUDE:
|
||||
case BPMEM_FOGPARAM3:
|
||||
if (changes) {
|
||||
VertexManager::Flush();
|
||||
((u32*)&bpmem)[addr] = newval;
|
||||
PixelShaderManager::SetFogParamChanged();
|
||||
}
|
||||
if (!g_Config.bDisableFog)
|
||||
if (changes) {
|
||||
VertexManager::Flush();
|
||||
((u32*)&bpmem)[addr] = newval;
|
||||
PixelShaderManager::SetFogParamChanged();
|
||||
}
|
||||
break;
|
||||
|
||||
case BPMEM_FOGCOLOR:
|
||||
|
Reference in New Issue
Block a user