next up previous contents index
Next: 1.5 Conventions Up: 1 Introduction Previous: 1.3 API Version 2

1.4 API Version 3

Further feedback lead to the development of GLUT API version 3. Additions to the GLUT API version 2 are:

GLUT API version 3 should be largely compatible with version 2. Be aware that programs that used to (through some degree of fortuitous timing) modify menus while menus are in use will encounter fatal errors when doing so in version 3.

Another change in GLUT 3.0 that may require source code modification to pre-3.0 GLUT programs. GLUT 3.0 no longer lets a window be shown without a display callback registered. This change makes sure windows are not displayed on the screen without the GLUT application providing a way for them to be rendered. In conjunction with this change,   glutDisplayFunc no longer allows NULL to deregister a display callback. While there is no longer a way to deregister a display callback, you can still change the change the display callback routine with subsequent calls to glutDisplayFunc.

The display mode mask parameter for glutInitDisplayMode and the milliseconds parameter for glutTimerFunc are now of type unsigned int (previously unsigned long).



next up previous contents index
Next: 1.5 Conventions Up: 1 Introduction Previous: 1.3 API Version 2



Mark Kilgard
Fri Feb 23 08:05:02 PST 1996