[i915] Reenable batchbuffer debug under INTEL_DEBUG=bat.

This commit is contained in:
Eric Anholt 2007-10-25 11:31:15 -07:00
parent 152aa6350d
commit f7e0513d70

View file

@ -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);
}
}