Remove "Disable Lighting".

This commit is contained in:
NeoBrainX committed 2012-06-11 23:30:20 +02:00
1 parent 1d9ac2f6e1
commit 1dd6b978c1
7 files changed
+1 -28

No files matched your search

@@ -159,16 +159,6 @@ void VertexManager::AddVertices(int primitive, int numVertices)
void VertexManager::Flush()
{
// 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;
}
}
g_vertex_manager->vFlush();
}