summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Whitwell <keith@tungstengraphics.com>2007-02-16 20:03:40 +0000
committerKeith Whitwell <keith@tungstengraphics.com>2007-02-16 20:03:40 +0000
commit9ff23910b0d62e672707e12a93f162de304878cb (patch)
treeb61042e2958a658adacbcee45205b08f8229d2c4
parent137b35ce1cbbeaeee62d969d1de27c0edd62be10 (diff)
Enable debugging on debug builds...
-rw-r--r--src/mesa/drivers/dri/i915tex/intel_context.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i915tex/intel_context.h b/src/mesa/drivers/dri/i915tex/intel_context.h
index a73a3d65c0..ab88e83853 100644
--- a/src/mesa/drivers/dri/i915tex/intel_context.h
+++ b/src/mesa/drivers/dri/i915tex/intel_context.h
@@ -363,8 +363,8 @@ __memcpy(void *to, const void *from, size_t n)
/* ================================================================
* Debugging:
*/
-#define DO_DEBUG 0
-#if DO_DEBUG
+#if defined(DEBUG)
+#define DO_DEBUG 1
extern int INTEL_DEBUG;
#else
#define INTEL_DEBUG 0