summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/i915simple/i915_debug.h
diff options
context:
space:
mode:
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