Moved where glBlendFunc() is reset to main.cxx
This commit is contained in:
parent
5c9b04f975
commit
e69c859afd
1 changed files with 2 additions and 0 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue