unused fogcolor removed, shouldn't BPMEM_FOGPARAM3 and BPMEM_FOGCOLOR be united with BPMEM_FOGBMAGNITUDE?
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@462 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
426b40417b
commit
4c1de84039
|
@ -278,7 +278,7 @@ void BPWritten(int addr, int changes, int newval)
|
|||
{
|
||||
VertexManager::Flush();
|
||||
((u32*)&bpmem)[addr] = newval;
|
||||
float fogcolor[4] = { ((bpmem.fog.color>>16)&0xff)/255.0f, ((bpmem.fog.color>>8)&0xff)/255.0f, (bpmem.fog.color&0xff)/255.0f, (bpmem.fog.color>>24)/255.0f };
|
||||
// float fogcolor[4] = { ((bpmem.fog.color>>16)&0xff)/255.0f, ((bpmem.fog.color>>8)&0xff)/255.0f, (bpmem.fog.color&0xff)/255.0f, (bpmem.fog.color>>24)/255.0f };
|
||||
}
|
||||
break;
|
||||
|
||||
|
|
Loading…
Reference in New Issue