1UNTITLED LOCAL UNTITLED
2
4 glutGameModeString — Set the game mode display string
5
7 OpenGLUT - gamemode
8
10 #include <openglut.h>
11
12 void
13 glutGameModeString(const char *string);
14
16 string A configuration parameter as a string.
17
19 Sets the gamemode status according to an undocumented string.
20
21 Glancing at old GLUT 3.7, the freeglut codebase that we inherited does
22 not implement more than a single GLUT gamemode ``criteria''. It may not
23 even do that much correctly.
24
25 In principle, this code lets you set the video dimensions, rendering
26 depth, and video refresh rate. In practice, the combination that you
27 request may be unsupportable and the target host may even refuse to honor
28 any such changes.
29
30 If you use this function but do not set all options, the following
31 defaults may be substituted for some values:
32
33 - width 640
34 - height 480
35 - depth 16
36 - refresh 72
37
39 Documentation
40
42 glutGameModeString(3) glutEnterGameMode(3) glutLeaveGameMode(3)
43 glutGameModeGet(3)
44
45
46
47
48 Epoch