Mark FREEGLUT_VERSION_2_0 as deprecated as per ML discussion 'FREEGLUT_VERSION_2_0' on 2012-03-15
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1331 7f0cb862-5218-0410-a997-914c9d46530a
This commit is contained in:
parent
e05409ce5a
commit
fb12dc9887
@ -2236,18 +2236,11 @@ Programs which use the <i>freeglut</i>-specific extensions to GLUT should includ
|
|||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
Compile-time <i>freeglut</i> version testing can be done as follows:
|
It was initially planned to
|
||||||
</p>
|
define <code>FREEGLUT_VERSION_2_0</code>, <code>FREEGLUT_VERSION_2_1</code>, <code>FREEGLUT_VERSION_2_2</code>,
|
||||||
|
etc., but this was only done for <code>FREEGLUT_VERSION_2_0</code>.
|
||||||
<pre>
|
This constant still exist in recent FreeGLUT releases but is
|
||||||
#ifdef FREEGLUT_VERSION_2_0
|
deprecated.
|
||||||
code specific to freeglut 2.0 or later here
|
|
||||||
#endif
|
|
||||||
</pre>
|
|
||||||
|
|
||||||
<p>
|
|
||||||
In future releases, FREEGLUT_VERSION_2_1, FREEGLUT_VERSION_2_2, etc will
|
|
||||||
be defined. This scheme mimics OpenGL conventions.
|
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
|
Reference in New Issue
Block a user