git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@705
7f0cb862-5218-0410-a997-
914c9d46530a
fgStructure.GameModeWindow->State.Height = fgState.GameModeSize.Y;
fgStructure.GameModeWindow->State.NeedToResize = GL_TRUE;
- fgStructure.GameModeWindow->State.IsGameMode = GL_TRUE;
-
#if TARGET_HOST_POSIX_X11
/*
freeglut_return_if_fail( fgStructure.GameModeWindow );
- fgStructure.GameModeWindow->State.IsGameMode = GL_FALSE;
-
fgAddToWindowDestroyList( fgStructure.GameModeWindow );
fgStructure.GameModeWindow = NULL;
GLboolean IgnoreKeyRepeat; /* Whether to ignore key repeat. */
GLboolean KeyRepeating; /* Currently in repeat mode */
- GLboolean IsGameMode; /* Is this the game mode window? */
GLboolean NeedToResize; /* Do we need to resize the window? */
};
if ( window->Parent == NULL )
{
- if ( ! window->IsMenu && !window->State.IsGameMode )
+ if ( ! window->IsMenu && (window != fgStructure.GameModeWindow) )
{
w += GetSystemMetrics( SM_CXSIZEFRAME ) * 2;
h += GetSystemMetrics( SM_CYSIZEFRAME ) * 2 +