SysTutorials

Linux Manual Pages › Section 3

glutentergamemode(3)

glutEnterGameMode – Enter game mode

Library

OpenGLUT – gamemode

Synopsis

In openglut.h Ft int Fn 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)