Patch from Erik Hofman:
This patch gets F8 working again.
This commit is contained in:
parent
780b4a813e
commit
de9682e32a
1 changed files with 1 additions and 1 deletions
|
@ -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 );
|
||||
|
|
Loading…
Add table
Reference in a new issue