glutGameModeString (3) - Linux Manuals
glutGameModeString: Set the game mode display string
NAME
glutGameModeString - Set the game mode display stringLIBRARY
OpenGLUT - gamemodeSYNOPSIS
In openglut.h Ft void Fn glutGameModeString const char *stringPARAMETERS
Bf Em
DESCRIPTION
Sets the gamemode status according to an undocumented string.Glancing at old GLUT 3.7, the freeglut codebase that we inherited does not implement more than a single GLUT gamemode ``criteria''. It may not even do that much correctly.
In principle, this code lets you set the video dimensions, rendering depth, and video refresh rate. In practice, the combination that you request may be unsupportable and the target host may even refuse to honor any such changes.
If you use this function but do not set all options, the following defaults may be substituted for some values: