summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/i915
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2007-11-29 13:00:34 -0800
committerEric Anholt <eric@anholt.net>2007-11-29 13:00:34 -0800
commit1df7a82688c4f41b06ef04d997654afb4e05071b (patch)
treed215fa39321bf35c5f87c8024a46b8c33232f9ab /src/mesa/drivers/dri/i915
parent61fbc816570820757afdbc3cd04cd475b337ad4f (diff)
[i915] Make INTEL_DEBUG=bufmgr actually do things for bufmgr_fake.
Diffstat (limited to 'src/mesa/drivers/dri/i915')
-rw-r--r--src/mesa/drivers/dri/i915/intel_context.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i915/intel_context.c b/src/mesa/drivers/dri/i915/intel_context.c
index a26a424f86..326be9c76f 100644
--- a/src/mesa/drivers/dri/i915/intel_context.c
+++ b/src/mesa/drivers/dri/i915/intel_context.c
@@ -460,6 +460,8 @@ intelInitContext(struct intel_context *intel,
#if DO_DEBUG
INTEL_DEBUG = driParseDebugString(getenv("INTEL_DEBUG"), debug_control);
+ if (!intel->intelScreen->ttm && (INTEL_DEBUG & DEBUG_BUFMGR))
+ dri_bufmgr_fake_set_debug(intel->intelScreen->bufmgr, GL_TRUE);
#endif
if (getenv("INTEL_NO_RAST")) {