1
0
Fork 0

Patch from Erik Hofman:

This patch gets F8 working again.
This commit is contained in:
david 2002-03-25 19:37:49 +00:00
parent 780b4a813e
commit de9682e32a

View file

@ -534,7 +534,7 @@ void fgRenderFrame( void ) {
}
glEnable( GL_DEPTH_TEST );
if ( fgGetString("/sim/rendering/fog") != "disabled" ) {
if ( strcmp(fgGetString("/sim/rendering/fog"), "disabled") ) {
glEnable( GL_FOG );
glFogi( GL_FOG_MODE, GL_EXP2 );
glFogfv( GL_FOG_COLOR, l->adj_fog_color );