From: frohlich Date: Wed, 8 Nov 2006 20:45:21 +0000 (+0000) Subject: Modified Files: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=bd97270782e4f07984a790d675631a64b1f4c0b9;p=flightgear.git Modified Files: src/Main/renderer.cxx: Make sure the normalize mode is not set --- diff --git a/src/Main/renderer.cxx b/src/Main/renderer.cxx index c691479d2..7393e0dd8 100644 --- a/src/Main/renderer.cxx +++ b/src/Main/renderer.cxx @@ -300,6 +300,9 @@ FGRenderer::init( void ) { stateSet->setMode(GL_FOG, osg::StateAttribute::OFF); + // this will be set below + stateSet->setMode(GL_NORMALIZE, osg::StateAttribute::OFF); + // osg::Material* material = new osg::Material; // stateSet->setAttribute(material);