From fb12dc9887a6baf327c84b838c4c0207c2ead107 Mon Sep 17 00:00:00 2001 From: beuc Date: Sat, 9 Jun 2012 17:26:06 +0000 Subject: [PATCH] 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 --- freeglut/web-src/docs/api.php | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/freeglut/web-src/docs/api.php b/freeglut/web-src/docs/api.php index 9d79b4e..26d29d4 100644 --- a/freeglut/web-src/docs/api.php +++ b/freeglut/web-src/docs/api.php @@ -2236,18 +2236,11 @@ Programs which use the freeglut-specific extensions to GLUT should includ

-Compile-time freeglut version testing can be done as follows: -

- -
-#ifdef FREEGLUT_VERSION_2_0
-  code specific to freeglut 2.0 or later here
-#endif
-
- -

-In future releases, FREEGLUT_VERSION_2_1, FREEGLUT_VERSION_2_2, etc will -be defined. This scheme mimics OpenGL conventions. +It was initially planned to +define FREEGLUT_VERSION_2_0, FREEGLUT_VERSION_2_1, FREEGLUT_VERSION_2_2, +etc., but this was only done for FREEGLUT_VERSION_2_0. +This constant still exist in recent FreeGLUT releases but is +deprecated.