From f7e0513d700167a7eff39e40c855027096f1db1d Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Thu, 25 Oct 2007 11:31:15 -0700 Subject: [PATCH] [i915] Reenable batchbuffer debug under INTEL_DEBUG=bat. --- src/mesa/drivers/dri/intel/intel_batchbuffer.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/mesa/drivers/dri/intel/intel_batchbuffer.c b/src/mesa/drivers/dri/intel/intel_batchbuffer.c index 8ece6d2760c..9ec60fcff39 100644 --- a/src/mesa/drivers/dri/intel/intel_batchbuffer.c +++ b/src/mesa/drivers/dri/intel/intel_batchbuffer.c @@ -168,10 +168,10 @@ do_flush_locked(struct intel_batchbuffer *batch, } if (INTEL_DEBUG & DEBUG_BATCH) { - // dri_bo_map(batch->buf, GL_FALSE); - // intel_decode(ptr, used / 4, batch->buf->offset, - // intel->intelScreen->deviceID); - // dri_bo_unmap(batch->buf); + dri_bo_map(batch->buf, GL_FALSE); + intel_decode(batch->buf->virtual, used / 4, batch->buf->offset, + intel->intelScreen->deviceID); + dri_bo_unmap(batch->buf); } } -- 2.30.2