Scroll to navigation

GLUTENTERGAMEMODE(3) Library Functions Manual (local) GLUTENTERGAMEMODE(3)

NAME

glutEnterGameModeEnter 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)