Tao.FreeGlut SDK Documentation

Glut.glutLeaveGameMode Method 

Leaves GLUT's game mode.

[Visual Basic]
Public Shared Sub glutLeaveGameMode()
[C#]
public static void glutLeaveGameMode();

Remarks

glutLeaveGameMode leaves the GLUT game mode and returns the screen display format to its default format.

After leaving game mode, the GLUT functionality disabled in game mode is available again. The game mode window (and its OpenGL rendering state) is destroyed when leaving game mode. Any windows and subwindows created before entering the game mode are displayed in their previous locations. The OpenGL state of normal GLUT windows and subwindows is not disturbed by entering and/or leaving game mode.

See Also

Glut Class | Tao.FreeGlut Namespace | glutEnterGameMode | glutGameModeGet | glutGameModeString | glutInitDisplayString