[Mesa-dev] [PATCH] mesa: Remove unused opengl version macros
Jakob Bornecrantz
jakob at vmware.com
Wed Jan 11 13:54:27 PST 2012
Found this while preparing for the release, couldn't find
any users of this.
Signed-off-by: Jakob Bornecrantz <jakob at vmware.com>
---
src/mesa/main/version.h | 13 +------------
1 files changed, 1 insertions(+), 12 deletions(-)
diff --git a/src/mesa/main/version.h b/src/mesa/main/version.h
index d288c4d..c1f4e8e 100644
--- a/src/mesa/main/version.h
+++ b/src/mesa/main/version.h
@@ -35,24 +35,13 @@ struct gl_context;
#define MESA_MAJOR 8
#define MESA_MINOR 0
#define MESA_PATCH 0
-#define MESA_VERSION_STRING "8.0-devel"
+#define MESA_VERSION_STRING "8.0-rc1"
/* To make version comparison easy */
#define MESA_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))
#define MESA_VERSION_CODE MESA_VERSION(MESA_MAJOR, MESA_MINOR, MESA_PATCH)
-/* OpenGL API version */
-#define OPENGL_MAJOR 2
-#define OPENGL_MINOR 1
-#define OPENGL_PATCH 0
-#define OPENGL_VERSION_STRING "2.1"
-
-/* To make version comparison easy */
-#define OPENGL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))
-#define OPENGL_VERSION_CODE OPENGL_VERSION(OPENGL_MAJOR, OPENGL_MINOR, OPENGL_PATCH)
-
-
extern void
_mesa_compute_version(struct gl_context *ctx);
--
1.7.5.4
More information about the mesa-dev
mailing list