From e69c859afdd62a6f2a2582cb78a052300aa6479a Mon Sep 17 00:00:00 2001 From: curt Date: Fri, 22 Oct 1999 17:15:43 +0000 Subject: [PATCH] Moved where glBlendFunc() is reset to main.cxx --- src/Main/main.cxx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Main/main.cxx b/src/Main/main.cxx index e90c007b9..21202736e 100644 --- a/src/Main/main.cxx +++ b/src/Main/main.cxx @@ -327,6 +327,8 @@ void fgRenderFrame( void ) { xglLightfv( GL_LIGHT0, GL_POSITION, l->sun_vec ); //xglEnable(GL_DEPTH_TEST); SolarSystem::theSolarSystem->draw(); + // reset blending function + glBlendFunc ( GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA ) ; xglPopMatrix(); -- 2.39.5