X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=doc%2Ffreeglut_user_interface.html;fp=doc%2Ffreeglut_user_interface.html;h=397ebc5d084c44c885e53352567eea917028c995;hb=a351855ee6b2ec6f477635a367c745d733219c3e;hp=47f4e7d77138781964c824bd4844ac641c6c418c;hpb=9e15e83271d0c78f6ace4fd250e979550cb74402;p=freeglut diff --git a/doc/freeglut_user_interface.html b/doc/freeglut_user_interface.html index 47f4e7d..397ebc5 100644 --- a/doc/freeglut_user_interface.html +++ b/doc/freeglut_user_interface.html @@ -1894,13 +1894,13 @@ Compile-time freeglut version testing can be done as follows:

-#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
 

-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.

@@ -1915,8 +1915,8 @@ This may be used as follows:

-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);
 }