From: Jakob Bornecrantz Date: Wed, 11 Jan 2012 22:17:37 +0000 (+0100) Subject: mesa: Remove unused opengl version macro X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=04e262ebe978872b7da0a04ae1fe6fe2129743fc;p=mesa.git mesa: Remove unused opengl version macro Signed-off-by: Jakob Bornecrantz Reviewed-by: Brian Paul --- diff --git a/src/mesa/main/version.h b/src/mesa/main/version.h index d288c4d558f..8723c1f57dd 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);