From 363344f5b8e697ea9be9850cd63c986276f4d172 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Tue, 13 Sep 2005 14:48:28 +0000 Subject: [PATCH] print version with debug info --- src/mesa/main/context.c | 6 ++++-- 1 file 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; -- 2.30.2