fix crash when calling primitive drawing functions without creating a window (bug...
[freeglut] / doc / freeglut_user_interface.html
index 47f4e7d..20d1e42 100644 (file)
@@ -339,11 +339,10 @@ GLUT should simply exit (the default).
 to Silicon Graphics hardware have not been implemented.  Most or all 
 of the new callbacks are listed in the GLUT Version 4 "glut.h" header file 
 but did not make it into the documentation.  The new callbacks consist 
-of regular and special key release callbacks, a joystick callback, a menu 
-state callback (with one argument, distinct from the menu status callback 
-which has three arguments), and a window status callback <br>
- (also with one argument).&nbsp; Unsupported callbacks are the three Spaceball 
-callbacks, the ButtonBox callback, the Dials callback, and the two Tablet 
+of regular and special key release callbacks, a joystick callback, a window 
+status callback, window closure callbacks, a menu closure callback, and a
+mouse wheel callback.&nbsp; Unsupported callbacks are the three Spaceball 
+callbacks, the ButtonBox callback, and the two Tablet 
 callbacks.&nbsp; If the user has a need for an unsupported callback he should 
 contact the <i>freeglut</i> development team.<br>
                                    
@@ -356,8 +355,8 @@ pixels for bitmapped fonts and in OpenGL units for the stroke fonts.<br>
                                    
                                   <h3>3.4.5&nbsp; Geometry Rendering<br>
                                    </h3>
- Two functions have been added to render a wireframe and a solid rhombic
-dodecahedron.                                    
+ Functions have been added to render a wireframe and a solid rhombic
+dodecahedron, a cylinder, and a Sierpinski sponge.                                    
                                   <h3> 3.4.5&nbsp; Extension Function Queries</h3>
  glutGetProcAddress is a wrapper for the glXGetProcAddressARB and wglGetProcAddress
 functions. 
@@ -1894,13 +1893,13 @@ Compile-time <i>freeglut</i> version testing can be done as follows:
 </p>
 
 <pre>
-#ifdef FREEGLUT_VERSION_1_4
-  code specific to freeglut 1.4 or later here
+#ifdef FREEGLUT_VERSION_2_0
+  code specific to freeglut 2.0 or later here
 #endif
 </pre>
 
 <p>
-In future releases, FREEGLUT_VERSION_1_5, FREEGLUT_VERSION_1_6, etc will
+In future releases, FREEGLUT_VERSION_2_1, FREEGLUT_VERSION_2_2, etc will
 be defined.  This scheme mimics OpenGL conventions.
 </p>
 
@@ -1915,8 +1914,8 @@ This may be used as follows:
 </p>
 
 <pre>
-if (glutGet(GLUT_VERSION) < 10300) {
-    printf("Sorry, you need freeglut version 1.3.0 or later to run this program.\n");
+if (glutGet(GLUT_VERSION) < 20001) {
+    printf("Sorry, you need freeglut version 2.0.1 or later to run this program.\n");
     exit(1);
 }
 </pre>