]> git.mxchange.org Git - flightgear.git/commitdiff
Modified Files:
authorfrohlich <frohlich>
Wed, 8 Nov 2006 20:45:21 +0000 (20:45 +0000)
committerfrohlich <frohlich>
Wed, 8 Nov 2006 20:45:21 +0000 (20:45 +0000)
src/Main/renderer.cxx: Make sure the normalize mode is not set

src/Main/renderer.cxx

index c691479d24eaec89560e08dc63deba9196a41cbd..7393e0dd8f5ecb6ff9ea6550567f15d0ce82d129 100644 (file)
@@ -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);