projects
/
freeglut
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
- changed the main INCLUDE_DIRECTORIES definition to place the main header
[freeglut]
/
src
/
fg_gamemode.c
diff --git
a/src/fg_gamemode.c
b/src/fg_gamemode.c
index
eb29131
..
f8559d4
100644
(file)
--- a/
src/fg_gamemode.c
+++ b/
src/fg_gamemode.c
@@
-1,5
+1,5
@@
/*
/*
- * freeglut_gamemode.c
+ * fg_gamemode.c
*
* The game mode handling code.
*
*
* The game mode handling code.
*
@@
-28,15
+28,6
@@
#include <GL/freeglut.h>
#include "fg_internal.h"
#include <GL/freeglut.h>
#include "fg_internal.h"
-/*
- * TODO BEFORE THE STABLE RELEASE:
- *
- * glutGameModeString() -- missing
- * glutEnterGameMode() -- X11 version
- * glutLeaveGameMode() -- is that correct?
- * glutGameModeGet() -- is that correct?
- */
-
/* -- PRIVATE FUNCTIONS ---------------------------------------------------- */
extern void fgPlatformRememberState( void );
/* -- PRIVATE FUNCTIONS ---------------------------------------------------- */
extern void fgPlatformRememberState( void );
@@
-112,9
+103,7
@@
int FGAPIENTRY glutEnterGameMode( void )
GL_TRUE, GL_FALSE
);
GL_TRUE, GL_FALSE
);
- fgStructure.GameModeWindow->State.Width = fgState.GameModeSize.X;
- fgStructure.GameModeWindow->State.Height = fgState.GameModeSize.Y;
- fgStructure.GameModeWindow->State.NeedToResize = GL_TRUE;
+ glutFullScreen();
fgPlatformEnterGameMode();
fgPlatformEnterGameMode();