GLUTENTERGAMEMODE(3)

NAME
glutEnterGameMode - 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)