diff options
Diffstat (limited to 'src/mesa/main/get.c')
-rw-r--r-- | src/mesa/main/get.c | 8 |
1 files changed, 4 insertions, 4 deletions
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); |