int FGAPIENTRY glutEnterGameMode( void )
{
if( fgStructure.GameMode )
- fgAddToWindowDestroyList( fgStructure.GameMode, GL_TRUE );
+ fgAddToWindowDestroyList( fgStructure.GameMode );
else
fghRememberState( );
fgStructure.GameMode = fgCreateWindow(
NULL, "FREEGLUT", 0, 0,
- fgState.GameModeSize.X, fgState.GameModeSize.Y, GL_TRUE
+ fgState.GameModeSize.X, fgState.GameModeSize.Y, GL_TRUE, GL_FALSE
);
#if TARGET_HOST_UNIX_X11
{
freeglut_return_if_fail( fgStructure.GameMode );
- fgAddToWindowDestroyList( fgStructure.GameMode, GL_TRUE );
+ fgAddToWindowDestroyList( fgStructure.GameMode );
#if TARGET_HOST_UNIX_X11