summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/i915simple/i915_debug.h
diff options
context:
space:
mode:
authorMichal <michal@tungstengraphics.com>2007-11-17 14:26:24 +0000
committerJosé Fonseca <jrfonseca@tungstengraphics.com>2007-11-22 11:18:02 +0000
commit5961732c1b59403b4e736fa354a64d4a0e5d8af2 (patch)
tree2b2e7ca173417f9a924079ec9849ad889acbfce4 /src/mesa/pipe/i915simple/i915_debug.h
parent4541ee5343df7c3ca937e088a85ec3f62970d318 (diff)
Make it compile under Win32.
Diffstat (limited to 'src/mesa/pipe/i915simple/i915_debug.h')
-rw-r--r--src/mesa/pipe/i915simple/i915_debug.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/pipe/i915simple/i915_debug.h b/src/mesa/pipe/i915simple/i915_debug.h
index 4c3aa64b42..356c751a5a 100644
--- a/src/mesa/pipe/i915simple/i915_debug.h
+++ b/src/mesa/pipe/i915simple/i915_debug.h
@@ -69,12 +69,12 @@ void i915_print_ureg(const char *msg, unsigned ureg);
#ifdef DEBUG
#include "pipe/p_winsys.h"
-#define DBG( i915, ... ) do { \
+#define I915_DBG( i915, ... ) do { \
if ((i915)->debug & FILE_DEBUG_FLAG) \
(i915)->pipe.winsys->printf( (i915)->pipe.winsys, __VA_ARGS__ ); \
} while(0)
#else
-#define DBG( i915, ... ) \
+#define I915_DBG( i915, ... ) \
(void)i915
#endif