summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/get.c
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2003-05-27 21:24:40 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2003-05-27 21:24:40 +0000
commit2c5f93784ea1ba28ae15181917ff3e47656a93ad (patch)
treee16d9dcc3d63bacd11600409327ec07956e33cd4 /src/mesa/main/get.c
parent8750668ad71d45d97a0b07a2c23e68322aac4b10 (diff)
downloadexternal_mesa3d-2c5f93784ea1ba28ae15181917ff3e47656a93ad.zip
external_mesa3d-2c5f93784ea1ba28ae15181917ff3e47656a93ad.tar.gz
external_mesa3d-2c5f93784ea1ba28ae15181917ff3e47656a93ad.tar.bz2
Version defines. include "version.h" in a few files.
Diffstat (limited to 'src/mesa/main/get.c')
-rw-r--r--src/mesa/main/get.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mesa/main/get.c b/src/mesa/main/get.c
index 7d61d49..999adcc 100644
--- a/src/mesa/main/get.c
+++ b/src/mesa/main/get.c
@@ -33,10 +33,10 @@
#include "macros.h"
#include "mtypes.h"
#include "texcompress.h"
+#include "version.h"
#include "math/m_matrix.h"
-
#define FLOAT_TO_BOOL(X) ( (X)==0.0F ? GL_FALSE : GL_TRUE )
#define INT_TO_BOOL(I) ( (I)==0 ? GL_FALSE : GL_TRUE )
#define ENUM_TO_BOOL(E) ( (E)==0 ? GL_FALSE : GL_TRUE )
@@ -6158,9 +6158,9 @@ _mesa_GetString( GLenum name )
GET_CURRENT_CONTEXT(ctx);
static const char *vendor = "Brian Paul";
static const char *renderer = "Mesa";
- static const char *version_1_2 = "1.2 Mesa 5.1";
- static const char *version_1_3 = "1.3 Mesa 5.1";
- static const char *version_1_4 = "1.4 Mesa 5.1";
+ static const char *version_1_2 = "1.2 Mesa " MESA_VERSION_STRING;
+ static const char *version_1_3 = "1.3 Mesa " MESA_VERSION_STRING;
+ static const char *version_1_4 = "1.4 Mesa " MESA_VERSION_STRING;
ASSERT_OUTSIDE_BEGIN_END_WITH_RETVAL(ctx, 0);