diff options
author | Eric Anholt <eric@anholt.net> | 2007-12-10 14:58:53 -0800 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2007-12-10 14:58:53 -0800 |
commit | ffee86f69711e96c5a9ae68376aaf8a044c73dc8 (patch) | |
tree | f3fc8d261f5be6727f0536fc1b3def0e599c277c /src/mesa/drivers/dri/i965/intel_context.c | |
parent | e3a6e60040b7f6ea7965e52f8f9881ed31e0347c (diff) |
[965] Hook up DEBUG_BUFMGR output for bufmgr_fake.
Diffstat (limited to 'src/mesa/drivers/dri/i965/intel_context.c')
-rw-r--r-- | src/mesa/drivers/dri/i965/intel_context.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/intel_context.c b/src/mesa/drivers/dri/i965/intel_context.c index 73f4f96400..473720915e 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); |