]> de.git.xonotic.org Git - xonotic/netradiant.git/commitdiff
why was this commented out - broke modelscale
authorRudolf Polzer <divverent@xonotic.org>
Sat, 1 Oct 2011 20:10:43 +0000 (22:10 +0200)
committerRudolf Polzer <divverent@xonotic.org>
Sat, 1 Oct 2011 20:10:43 +0000 (22:10 +0200)
radiant/renderstate.cpp

index 2f5596d13f23ba14d20860bc0d9d0845b6d61ef5..2ec1f7b6e4e561bb9c7fad719f3947ea2f4925e7 100644 (file)
@@ -1827,7 +1827,7 @@ void OpenGLState_apply(const OpenGLState& self, OpenGLState& current, unsigned i
   {
     glEnable(GL_LIGHTING);
     glEnable(GL_COLOR_MATERIAL);
-    //qglEnable(GL_RESCALE_NORMAL);
+    glEnable(GL_RESCALE_NORMAL);
     glEnableClientState(GL_NORMAL_ARRAY);
     GlobalOpenGL_debugAssertNoErrors();
     g_normalArray_enabled = true;
@@ -1836,7 +1836,7 @@ void OpenGLState_apply(const OpenGLState& self, OpenGLState& current, unsigned i
   {
     glDisable(GL_LIGHTING);
     glDisable(GL_COLOR_MATERIAL);
-    //qglDisable(GL_RESCALE_NORMAL);
+    glDisable(GL_RESCALE_NORMAL);
     glDisableClientState(GL_NORMAL_ARRAY);
     GlobalOpenGL_debugAssertNoErrors();
     g_normalArray_enabled = false;