]> git.mxchange.org Git - simgear.git/commitdiff
Tweaks to fix problems with moon rendering introduced with ssg.
authorcurt <curt>
Sun, 15 Aug 1999 13:35:07 +0000 (13:35 +0000)
committercurt <curt>
Sun, 15 Aug 1999 13:35:07 +0000 (13:35 +0000)
simgear/ephemeris/moon.cxx

index 144e7ad5eca65d6596ed0109961df8d4a532107f..6423f6dcf6b84ca580f2fb27b50876a019fa1984 100644 (file)
@@ -371,10 +371,9 @@ void Moon::newImage()
        // set lighting parameters
        xglLightfv(GL_LIGHT0, GL_AMBIENT, white );
        xglLightfv(GL_LIGHT0, GL_DIFFUSE, white );
-       // xglEnable( GL_CULL_FACE );
+       // Enable( GL_CULL_FACE );
        xglMaterialfv(GL_FRONT, GL_AMBIENT, black);
        xglMaterialfv(GL_FRONT, GL_DIFFUSE, moonColor); 
-       
        //glEnable(GL_TEXTURE_2D);
        
        glBlendFunc(GL_ONE, GL_ONE);