Removed WindowState.IsGameMode; it is redundant with Structure.GameModeWindow
[freeglut] / src / freeglut_gamemode.c
index d466156..a039d7f 100644 (file)
@@ -437,8 +437,6 @@ int FGAPIENTRY glutEnterGameMode( void )
     fgStructure.GameModeWindow->State.Height = fgState.GameModeSize.Y;
     fgStructure.GameModeWindow->State.NeedToResize = GL_TRUE;
 
-    fgStructure.GameModeWindow->State.IsGameMode = GL_TRUE;
-
 #if TARGET_HOST_POSIX_X11
 
     /*
@@ -541,8 +539,6 @@ void FGAPIENTRY glutLeaveGameMode( void )
 
     freeglut_return_if_fail( fgStructure.GameModeWindow );
 
-    fgStructure.GameModeWindow->State.IsGameMode = GL_FALSE;
-
     fgAddToWindowDestroyList( fgStructure.GameModeWindow );
     fgStructure.GameModeWindow = NULL;