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:
parent
3b7fc074b8
commit
024070701e
@ -1894,13 +1894,13 @@ Compile-time <i>freeglut</i> version testing can be done as follows:
|
|||||||
</p>
|
</p>
|
||||||
|
|
||||||
<pre>
|
<pre>
|
||||||
#ifdef FREEGLUT_VERSION_1_4
|
#ifdef FREEGLUT_VERSION_2_0
|
||||||
code specific to freeglut 1.4 or later here
|
code specific to freeglut 2.0 or later here
|
||||||
#endif
|
#endif
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
<p>
|
<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.
|
be defined. This scheme mimics OpenGL conventions.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
@ -1915,8 +1915,8 @@ This may be used as follows:
|
|||||||
</p>
|
</p>
|
||||||
|
|
||||||
<pre>
|
<pre>
|
||||||
if (glutGet(GLUT_VERSION) < 10300) {
|
if (glutGet(GLUT_VERSION) < 20001) {
|
||||||
printf("Sorry, you need freeglut version 1.3.0 or later to run this program.\n");
|
printf("Sorry, you need freeglut version 2.0.1 or later to run this program.\n");
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
</pre>
|
</pre>
|
||||||
|
Reference in New Issue
Block a user