version bumps

git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@115 7f0cb862-5218-0410-a997-914c9d46530a
This commit is contained in:
brianp 2003-07-01 20:19:02 +00:00
parent 3b7fc074b8
commit 024070701e

View File

@ -1894,13 +1894,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 +1915,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>