mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-11 16:49:28 +02:00
Fix "Disable Lighting" in D3D9 and D3D11.
Fixes issue 3185. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7498 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -289,17 +289,6 @@ void GLVertexFormat::EnableComponents(u32 components)
|
||||
}
|
||||
}
|
||||
|
||||
// Disable Lighting
|
||||
// TODO - Is this a good spot for this code?
|
||||
if (g_ActiveConfig.bDisableLighting)
|
||||
{
|
||||
for (u32 i = 0; i < xfregs.numChan.numColorChans; i++)
|
||||
{
|
||||
xfregs.alpha[i].enablelighting = false;
|
||||
xfregs.color[i].enablelighting = false;
|
||||
}
|
||||
}
|
||||
|
||||
s_prevcomponents = components;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user