diff options
| author | NeoBrainX <NeoBrainX@gmail.com> | 2012-02-25 23:34:28 +0100 |
|---|---|---|
| committer | NeoBrainX <NeoBrainX@gmail.com> | 2012-06-11 23:30:20 +0200 |
| commit | 1dd6b978c1dafccbc8b7db9efb5c15d75596d1c8 (patch) | |
| tree | b38f563ae6edec6153bf1ef7325cc844265ded29 /Source/Core/VideoCommon/Src/VertexManagerBase.cpp | |
| parent | 1d9ac2f6e1feb6a69635a9e14ccaab0823acac21 (diff) | |
Remove "Disable Lighting".
Diffstat (limited to 'Source/Core/VideoCommon/Src/VertexManagerBase.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/Src/VertexManagerBase.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/Source/Core/VideoCommon/Src/VertexManagerBase.cpp b/Source/Core/VideoCommon/Src/VertexManagerBase.cpp index e38f7ff14e..4118e3dcbd 100644 --- a/Source/Core/VideoCommon/Src/VertexManagerBase.cpp +++ b/Source/Core/VideoCommon/Src/VertexManagerBase.cpp @@ -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(); } |
