summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2005-09-13 14:48:28 +0000
committerBrian Paul <[email protected]>2005-09-13 14:48:28 +0000
commit363344f5b8e697ea9be9850cd63c986276f4d172 (patch)
treebc089710e7e96a4739d0dbba91f1aa460670ee34 /src/mesa
parent7bb7f9759476ff10b80a8df5b752dd07c0cc511f (diff)
print version with debug info
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/main/context.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c
index 7a8833a1b5c..cc29f2cb992 100644
--- a/src/mesa/main/context.c
+++ b/src/mesa/main/context.c
@@ -6,7 +6,7 @@
/*
* Mesa 3-D graphics library
- * Version: 6.3
+ * Version: 6.5
*
* Copyright (C) 1999-2005 Brian Paul All Rights Reserved.
*
@@ -121,6 +121,7 @@
#include "texstate.h"
#include "mtypes.h"
#include "varray.h"
+#include "version.h"
#include "vtxfmt.h"
#if _HAVE_FULL_GL
#include "math/m_translate.h"
@@ -652,7 +653,8 @@ one_time_init( GLcontext *ctx )
}
#if defined(DEBUG) && defined(__DATE__) && defined(__TIME__)
- _mesa_debug(ctx, "Mesa DEBUG build %s %s\n", __DATE__, __TIME__);
+ _mesa_debug(ctx, "Mesa %s DEBUG build %s %s\n",
+ MESA_VERSION_STRING, __DATE__, __TIME__);
#endif
alreadyCalled = GL_TRUE;