From 5fbfe7b17fb14ec9e9dfc568d9611c3ba7c4a133 Mon Sep 17 00:00:00 2001 From: dfighter1985 Date: Sat, 14 Sep 2013 20:15:18 +0200 Subject: [PATCH] Since now we have fog support, this doesn't need to be disabled anymore. --HG-- branch : gsoc2013-dfighter --- code/nel/src/3d/driver/OpenGL3/driver_opengl_material.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/nel/src/3d/driver/OpenGL3/driver_opengl_material.cpp b/code/nel/src/3d/driver/OpenGL3/driver_opengl_material.cpp index e371f9d89..862a60819 100644 --- a/code/nel/src/3d/driver/OpenGL3/driver_opengl_material.cpp +++ b/code/nel/src/3d/driver/OpenGL3/driver_opengl_material.cpp @@ -452,6 +452,7 @@ bool CDriverGL3::setupMaterial(CMaterial& mat) _DriverGLStates.setVertexColorLighted(false); } +#endif // Fog Part. //================= @@ -467,7 +468,6 @@ bool CDriverGL3::setupMaterial(CMaterial& mat) _DriverGLStates.enableFog(_FogEnabled); } -#endif _CurrentMaterial=&mat; }