glutEnterGameMode - Man Page
Enter game mode
Library
OpenGLUT - gamemode
Synopsis
#include <openglut.h
>
int
glutEnterGameMode
(void);
Description
Any combination of the following may apply:
- Resolution change, possibly to the requested resolution, possibly to a "nearest match".
- Refresh frequency change.
- A window with a drawable area equal to the requested screen resolution will be opened.
- The mouse may be restricted to operate within your window.
Caveats
Varies in behavior; X users can disable the resolution change by an OpenGLUT compile-time option.
Todo
Documentation
OpenGLUT may be unable to restore the original settings (this has been observed on WIN32).
See Also
glutGameModeString(3) glutEnterGameMode(3) glutLeaveGameMode(3) glutGameModeGet(3)
Referenced By
glutGameModeGet(3), glutGameModeString(3), glutLeaveGameMode(3).