From: curt Date: Sun, 15 Aug 1999 13:35:07 +0000 (+0000) Subject: Tweaks to fix problems with moon rendering introduced with ssg. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=63c9dcdd967fbc46da0c9cdc6ddb55b22115cde5;p=simgear.git Tweaks to fix problems with moon rendering introduced with ssg. --- diff --git a/simgear/ephemeris/moon.cxx b/simgear/ephemeris/moon.cxx index 144e7ad5..6423f6dc 100644 --- a/simgear/ephemeris/moon.cxx +++ b/simgear/ephemeris/moon.cxx @@ -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);