Merge commit 'origin/gallium-0.1' into gallium-0.2
[mesa.git] / src / gallium / auxiliary / util / p_debug.c
index a1a51d7ef2a7aa41e6b05c2e4b2e0b02152af465..0d019808b09638bbda97f40ef4c76d4ce7a39202 100644 (file)
@@ -136,8 +136,10 @@ void _debug_vprintf(const char *format, va_list ap)
 #elif defined(PIPE_SUBSYSTEM_WINDOWS_MINIPORT)
    /* TODO */
 #else /* !PIPE_SUBSYSTEM_WINDOWS */
+#ifdef DEBUG
    vfprintf(stderr, format, ap);
 #endif
+#endif
 }