GLUTGAMEMODESTRING

Section: C Library Functions (3)
Updated: LOCAL
Index Return to Main Contents

BSD mandoc
 

NAME

glutGameModeString - Set the game mode display string  

LIBRARY

OpenGLUT - gamemode  

SYNOPSIS

In openglut.h Ft void Fn glutGameModeString const char *string  

PARAMETERS

Bf Em
 string Ef
    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:


 -  Bf Sy
 width Ef
 640
 -  Bf Sy
 height Ef
 480
 -  Bf Sy
 depth Ef
 16
 -  Bf Sy
 refresh Ef
 72

 

TODO

Documentation

 

SEE ALSO

glutGameModeString(3) glutEnterGameMode(3) glutLeaveGameMode(3) glutGameModeGet(3)