#5 Need an open window before calling "glutGet"

open
nobody
None
5
2003-06-30
2003-06-30
John F. Fay
No

In the "comp.c" demo in the "advanced" directory, we
find that we need a window to be defined before
"glutGet ( GLUT_DISPLAY_MODE_POSSIBLE )" can be
called. GLUT does not have this restriction. In
"freeglut" there is a check at the beginning of the
"fgSetupPixelFormat" call and a few references to
"window->" later in the function.

Discussion