From: curt Date: Fri, 22 Oct 1999 15:15:43 +0000 (+0000) Subject: Moved where glBlendFunc() is reset to main.cxx X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=ca07b64af04693ec216fa5e404f8630014acad14;p=simgear.git Moved where glBlendFunc() is reset to main.cxx --- diff --git a/simgear/ephemeris/moon.cxx b/simgear/ephemeris/moon.cxx index bd7fd0a2..75d304c8 100644 --- a/simgear/ephemeris/moon.cxx +++ b/simgear/ephemeris/moon.cxx @@ -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. } diff --git a/simgear/ephemeris/star.cxx b/simgear/ephemeris/star.cxx index 51bc3883..c3985d7e 100644 --- a/simgear/ephemeris/star.cxx +++ b/simgear/ephemeris/star.cxx @@ -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 } }