diff options
author | Brian Paul <[email protected]> | 2009-04-24 10:46:40 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2009-04-24 10:50:40 -0600 |
commit | 1c9786894cc3ce66665ca507a6daf6a829e5af89 (patch) | |
tree | 717a15137fb6d59e668acf12e09f0e9f0d780251 /src/mesa/main/context.c | |
parent | 3321b6984ecd96ba466d8d010e390fff71a799d7 (diff) |
mesa: fix up error/warning/debug output newlines
As of commit 23ad86cfb91c294ce85a3116d4b825aaa3988a6e all messages go
through output_if_debug().
Add new parameter to output_if_debug() to indicate whether to emit a newline.
_mesa_warning() and _mesa_error() calls should not end their strings with \n.
_mesa_debug() calls should end their text with \n.
Diffstat (limited to 'src/mesa/main/context.c')
-rw-r--r-- | src/mesa/main/context.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c index 5726dbd983e..4469c8e1fa1 100644 --- a/src/mesa/main/context.c +++ b/src/mesa/main/context.c @@ -434,7 +434,7 @@ one_time_init( GLcontext *ctx ) } #if defined(DEBUG) && defined(__DATE__) && defined(__TIME__) - _mesa_debug(ctx, "Mesa %s DEBUG build %s %s", + _mesa_debug(ctx, "Mesa %s DEBUG build %s %s\n", MESA_VERSION_STRING, __DATE__, __TIME__); #endif |