glutGameModeString - Man Page
Set the game mode display string
Library
OpenGLUT - gamemode
Synopsis
#include <openglut.h
>
void
glutGameModeString
(const char *string);
Parameters
string
A configuration parameter as a string.
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:
-
width
640
-
height
480
-
depth
16
-
refresh
72
Todo
Documentation
See Also
glutGameModeString(3) glutEnterGameMode(3) glutLeaveGameMode(3) glutGameModeGet(3)
Referenced By
glutEnterGameMode(3), glutGameModeGet(3), glutLeaveGameMode(3).