From 2c5f93784ea1ba28ae15181917ff3e47656a93ad Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Tue, 27 May 2003 21:24:40 +0000 Subject: Version defines. include "version.h" in a few files. --- src/mesa/main/get.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/mesa/main/get.c') diff --git a/src/mesa/main/get.c b/src/mesa/main/get.c index 7d61d49b855..999adcc84f8 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); -- cgit v1.2.3