From: Rudolf Polzer Date: Sat, 1 Oct 2011 20:10:43 +0000 (+0200) Subject: why was this commented out - broke modelscale X-Git-Tag: xonotic-v0.6.0~67^2~2 X-Git-Url: https://de.git.xonotic.org/?p=xonotic%2Fnetradiant.git;a=commitdiff_plain;h=9c436e5a25c6d9674a1b3568ee622ed1b3b7880b why was this commented out - broke modelscale --- diff --git a/radiant/renderstate.cpp b/radiant/renderstate.cpp index 2f5596d1..2ec1f7b6 100644 --- a/radiant/renderstate.cpp +++ b/radiant/renderstate.cpp @@ -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;