summaryrefslogtreecommitdiffstats
path: root/src/graphics/engine/engine.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/graphics/engine/engine.cpp')
-rw-r--r--src/graphics/engine/engine.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/graphics/engine/engine.cpp b/src/graphics/engine/engine.cpp
index bd5f60f..86554e5 100644
--- a/src/graphics/engine/engine.cpp
+++ b/src/graphics/engine/engine.cpp
@@ -2790,9 +2790,9 @@ void Gfx::CEngine::Draw3DScene()
m_device->SetRenderState(Gfx::RENDER_STATE_DEPTH_TEST, true);
m_device->SetRenderState(Gfx::RENDER_STATE_LIGHTING, true);
m_device->SetRenderState(Gfx::RENDER_STATE_FOG, true);
-
- float fogStart = m_deepView[m_rankView]*m_fogStart[m_rankView];
- float fogEnd = m_deepView[m_rankView];
+//
+// float fogStart = m_deepView[m_rankView]*m_fogStart[m_rankView];
+// float fogEnd = m_deepView[m_rankView];
m_device->SetFogParams(Gfx::FOG_LINEAR, m_fogColor[m_rankView], fogStart, fogEnd, 1.0f);
m_device->SetTransform(Gfx::TRANSFORM_PROJECTION, m_matProj);