projects
/
freeglut
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Move all files related to Visual Studio 2008 into 2 directories, one for the normal...
[freeglut]
/
src
/
freeglut_gamemode.c
diff --git
a/src/freeglut_gamemode.c
b/src/freeglut_gamemode.c
index
d466156
..
67159e1
100644
(file)
--- a/
src/freeglut_gamemode.c
+++ b/
src/freeglut_gamemode.c
@@
-429,16
+429,15
@@
int FGAPIENTRY glutEnterGameMode( void )
}
fgStructure.GameModeWindow = fgCreateWindow(
}
fgStructure.GameModeWindow = fgCreateWindow(
- NULL, "FREEGLUT", 0, 0,
- fgState.GameModeSize.X, fgState.GameModeSize.Y, GL_TRUE, GL_FALSE
+ NULL, "FREEGLUT", GL_TRUE, 0, 0,
+ GL_TRUE, fgState.GameModeSize.X, fgState.GameModeSize.Y,
+ GL_TRUE, GL_FALSE
);
fgStructure.GameModeWindow->State.Width = fgState.GameModeSize.X;
fgStructure.GameModeWindow->State.Height = fgState.GameModeSize.Y;
fgStructure.GameModeWindow->State.NeedToResize = GL_TRUE;
);
fgStructure.GameModeWindow->State.Width = fgState.GameModeSize.X;
fgStructure.GameModeWindow->State.Height = fgState.GameModeSize.Y;
fgStructure.GameModeWindow->State.NeedToResize = GL_TRUE;
- fgStructure.GameModeWindow->State.IsGameMode = GL_TRUE;
-
#if TARGET_HOST_POSIX_X11
/*
#if TARGET_HOST_POSIX_X11
/*
@@
-541,8
+540,6
@@
void FGAPIENTRY glutLeaveGameMode( void )
freeglut_return_if_fail( fgStructure.GameModeWindow );
freeglut_return_if_fail( fgStructure.GameModeWindow );
- fgStructure.GameModeWindow->State.IsGameMode = GL_FALSE;
-
fgAddToWindowDestroyList( fgStructure.GameModeWindow );
fgStructure.GameModeWindow = NULL;
fgAddToWindowDestroyList( fgStructure.GameModeWindow );
fgStructure.GameModeWindow = NULL;