From ca07b64af04693ec216fa5e404f8630014acad14 Mon Sep 17 00:00:00 2001 From: curt Date: Fri, 22 Oct 1999 15:15:43 +0000 Subject: [PATCH] Moved where glBlendFunc() is reset to main.cxx --- simgear/ephemeris/moon.cxx | 1 - simgear/ephemeris/star.cxx | 1 - 2 files changed, 2 deletions(-) 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 } }