projects
/
freeglut
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix a game mode crashing bug, conditional compilation for Windows, and comment out...
[freeglut]
/
src
/
freeglut_gamemode.c
diff --git
a/src/freeglut_gamemode.c
b/src/freeglut_gamemode.c
index
afa0e7a
..
09e38ab
100644
(file)
--- a/
src/freeglut_gamemode.c
+++ b/
src/freeglut_gamemode.c
@@
-549,6
+549,8
@@
void FGAPIENTRY glutLeaveGameMode( void )
fgAddToWindowDestroyList( fgStructure.GameMode );
+ fgStructure.GameMode = NULL ;
+
#if TARGET_HOST_UNIX_X11
XUngrabPointer( fgDisplay.Display, CurrentTime );