From ffee86f69711e96c5a9ae68376aaf8a044c73dc8 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Mon, 10 Dec 2007 14:58:53 -0800 Subject: [965] Hook up DEBUG_BUFMGR output for bufmgr_fake. --- src/mesa/drivers/dri/i965/intel_context.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/mesa/drivers/dri/i965/intel_context.c b/src/mesa/drivers/dri/i965/intel_context.c index 73f4f964003..473720915ed 100644 --- a/src/mesa/drivers/dri/i965/intel_context.c +++ b/src/mesa/drivers/dri/i965/intel_context.c @@ -470,6 +470,8 @@ GLboolean intelInitContext( struct intel_context *intel, 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); intel_update_screen_regions(intel); -- cgit v1.2.3