From: curt Date: Fri, 22 Oct 1999 17:15:43 +0000 (+0000) Subject: Moved where glBlendFunc() is reset to main.cxx X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=e69c859afdd62a6f2a2582cb78a052300aa6479a;p=flightgear.git Moved where glBlendFunc() is reset to main.cxx --- 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();