Mesa (master): mesa: Remove unused opengl version macro

Jakob Bornecrantz wallbraker at kemper.freedesktop.org
Wed Jan 11 14:19:20 PST 2012


Module: Mesa
Branch: master
Commit: 04e262ebe978872b7da0a04ae1fe6fe2129743fc
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=04e262ebe978872b7da0a04ae1fe6fe2129743fc

Author: Jakob Bornecrantz <jakob at vmware.com>
Date:   Wed Jan 11 23:17:37 2012 +0100

mesa: Remove unused opengl version macro

Signed-off-by: Jakob Bornecrantz <jakob at vmware.com>
Reviewed-by: Brian Paul <brianp at vmware.com>

---

 src/mesa/main/version.h |   11 -----------
 1 files changed, 0 insertions(+), 11 deletions(-)

diff --git a/src/mesa/main/version.h b/src/mesa/main/version.h
index d288c4d..8723c1f 100644
--- a/src/mesa/main/version.h
+++ b/src/mesa/main/version.h
@@ -42,17 +42,6 @@ struct gl_context;
 #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);
 



More information about the mesa-commit mailing list