projects
/
freeglut
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fixing the documentation regarding callbacks and geometry shape additions
[freeglut]
/
src
/
freeglut_gamemode.c
diff --git
a/src/freeglut_gamemode.c
b/src/freeglut_gamemode.c
index
087212e
..
bdd180f
100644
(file)
--- a/
src/freeglut_gamemode.c
+++ b/
src/freeglut_gamemode.c
@@
-425,7
+425,7
@@
int FGAPIENTRY glutEnterGameMode( void )
if( ! fghChangeDisplayMode( GL_FALSE ) )
{
fgWarning( "failed to change screen settings" );
- return FALSE;
+ return 0;
}
fgStructure.GameMode = fgCreateWindow(
@@
-529,7
+529,7
@@
int FGAPIENTRY glutEnterGameMode( void )
#endif
- return TRUE;
+ return fgStructure.GameMode->ID;
}
/*