X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=doc%2Ffreeglut_user_interface.html;h=397ebc5d084c44c885e53352567eea917028c995;hb=43286c06a71d3da5a89832f83e621f94016cc9d4;hp=47f4e7d77138781964c824bd4844ac641c6c418c;hpb=94f851333015d5bbe2a8034e15d713a80a7de183;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); }