From 9c436e5a25c6d9674a1b3568ee622ed1b3b7880b Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Sat, 1 Oct 2011 22:10:43 +0200 Subject: [PATCH] why was this commented out - broke modelscale --- radiant/renderstate.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 2.39.2