diff options
author | Brian Paul <[email protected]> | 2004-09-15 14:40:14 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2004-09-15 14:40:14 +0000 |
commit | d4aaa68979c96df01fbe7122a1dcd663ef83b441 (patch) | |
tree | 13cc3b5ab4ced5b430d2a40ae25f457ca53b1302 /src/mesa/main/imports.c | |
parent | 765f1a12c6256282fe175ec92a0d01b45e4322c7 (diff) |
in _mesa_problem() include version number in error message
Diffstat (limited to 'src/mesa/main/imports.c')
-rw-r--r-- | src/mesa/main/imports.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/mesa/main/imports.c b/src/mesa/main/imports.c index 2219468f75a..ae0e86add3e 100644 --- a/src/mesa/main/imports.c +++ b/src/mesa/main/imports.c @@ -32,7 +32,7 @@ /* * Mesa 3-D graphics library - * Version: 6.1 + * Version: 6.2 * * Copyright (C) 1999-2004 Brian Paul All Rights Reserved. * @@ -58,6 +58,7 @@ #include "imports.h" #include "context.h" +#include "version.h" #define MAXSTRING 4000 /* for vsnprintf() */ @@ -905,10 +906,10 @@ _mesa_problem( const GLcontext *ctx, const char *fmtString, ... ) va_end( args ); #if defined(XFree86LOADER) && defined(IN_MODULE) - xf86fprintf(stderr, "Mesa implementation error: %s\n", str); + xf86fprintf(stderr, "Mesa %s implementation error: %s\n", MESA_VERSION_STRING, str); xf86fprintf(stderr, "Please report to the DRI project at dri.sourceforge.net\n"); #else - fprintf(stderr, "Mesa implementation error: %s\n", str); + fprintf(stderr, "Mesa %s implementation error: %s\n", MESA_VERSION_STRING, str); fprintf(stderr, "Please report to the Mesa bug database at www.mesa3d.org\n" ); #endif } |