projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eb45981
)
gallium: _debug_vprintf() should be silent if DEBUG is not defined
author
Brian
<brian.paul@tungstengraphics.com>
Sun, 9 Nov 2008 03:43:38 +0000
(20:43 -0700)
committer
Brian
<brian.paul@tungstengraphics.com>
Sun, 9 Nov 2008 16:45:12 +0000
(09:45 -0700)
src/gallium/auxiliary/util/p_debug.c
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/util/p_debug.c
b/src/gallium/auxiliary/util/p_debug.c
index b6cff281e6dcf6606ca81adb04d82296da88ad3c..6ff3e6e0a62baa8f951c56623d218c8bb6fd20cc 100644
(file)
--- a/
src/gallium/auxiliary/util/p_debug.c
+++ b/
src/gallium/auxiliary/util/p_debug.c
@@
-101,8
+101,10
@@
void _debug_vprintf(const char *format, va_list ap)
#elif defined(PIPE_SUBSYSTEM_WINDOWS_CE) || defined(PIPE_SUBSYSTEM_WINDOWS_MINIPORT)
/* TODO */
#else /* !PIPE_SUBSYSTEM_WINDOWS */
+#ifdef DEBUG
vfprintf(stderr, format, ap);
#endif
+#endif
}