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