X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2Ffreeglut_gamemode.c;h=41b241b8e321aec78ca60f1b206757e4d58f20fb;hb=5800cecd9ce89911e948c2e0abc982bfb5e8b675;hp=7c9b7eb477c0c04bac14f7ce3a3d8b6e0cf81031;hpb=113c06a96687cf466979972f5780c3ddd4d5dee5;p=freeglut diff --git a/src/freeglut_gamemode.c b/src/freeglut_gamemode.c index 7c9b7eb..41b241b 100644 --- a/src/freeglut_gamemode.c +++ b/src/freeglut_gamemode.c @@ -413,7 +413,7 @@ void FGAPIENTRY glutGameModeString( const char* string ) int FGAPIENTRY glutEnterGameMode( void ) { if( fgStructure.GameMode ) - fgAddToWindowDestroyList( fgStructure.GameMode, GL_TRUE ); + fgAddToWindowDestroyList( fgStructure.GameMode ); else fghRememberState( ); @@ -534,7 +534,7 @@ void FGAPIENTRY glutLeaveGameMode( void ) { freeglut_return_if_fail( fgStructure.GameMode ); - fgAddToWindowDestroyList( fgStructure.GameMode, GL_TRUE ); + fgAddToWindowDestroyList( fgStructure.GameMode ); #if TARGET_HOST_UNIX_X11