]> git.mxchange.org Git - simgear.git/commitdiff
Moved where glBlendFunc() is reset to main.cxx
authorcurt <curt>
Fri, 22 Oct 1999 15:15:43 +0000 (15:15 +0000)
committercurt <curt>
Fri, 22 Oct 1999 15:15:43 +0000 (15:15 +0000)
simgear/ephemeris/moon.cxx
simgear/ephemeris/star.cxx

index bd7fd0a2bc653cb1601c58bd02d396528317f37f..75d304c8c1cb4df2f37789a7e16aa2c6ec4869c2 100644 (file)
@@ -392,7 +392,6 @@ void Moon::newImage()
        glDisable(GL_BLEND);    // BLEND DISABLED
       }
       xglPopMatrix();
-      glBlendFunc ( GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA ) ;
       glDisable(GL_LIGHTING);  // Lighting Disabled.
       
     }
index 51bc38832072913cbbb05c17e3a4645f708fd3b9..c3985d7e10426e0ed2a3f9412291ece66a36878d 100644 (file)
@@ -266,7 +266,6 @@ void Star::newImage(void)
       }
     glPopMatrix();
     glDisable(GL_TEXTURE_2D);  // TEXTURE DISABLED
-    glBlendFunc ( GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA ) ;
     glDisable(GL_BLEND);       // BLEND DISABLED  
   }
 }