[intel] Initialize debug flag for dri_bufmgrs
authorEric Anholt <eric@anholt.net>
Fri, 14 Dec 2007 22:51:55 +0000 (14:51 -0800)
committerEric Anholt <eric@anholt.net>
Fri, 14 Dec 2007 22:51:55 +0000 (14:51 -0800)
src/mesa/drivers/dri/common/dri_bufmgr_fake.c
src/mesa/drivers/dri/intel/intel_bufmgr_ttm.c

index a06111b42042cac455fcc3544e5338c2da5df7b7..65b2c174d5c4bd33574cdf0bfb0e3bdf194cbf91 100644 (file)
@@ -1142,6 +1142,8 @@ dri_bufmgr_fake_init(unsigned long low_offset, void *low_virtual,
    bufmgr_fake->bufmgr.emit_reloc = dri_fake_emit_reloc;
    bufmgr_fake->bufmgr.process_relocs = dri_fake_process_relocs;
    bufmgr_fake->bufmgr.post_submit = dri_fake_post_submit;
+   bufmgr_fake->bufmgr.debug = GL_FALSE;
+
    bufmgr_fake->fence_emit = fence_emit;
    bufmgr_fake->fence_wait = fence_wait;
    bufmgr_fake->driver_priv = driver_priv;
index e1eb9f34ae19155c2b56b34046dbadabce2abfa1..4e50d0deee5b850e08873dfc9eea8a474bca1d1b 100644 (file)
@@ -767,6 +767,7 @@ intel_bufmgr_ttm_init(int fd, unsigned int fence_type,
     bufmgr_ttm->bufmgr.emit_reloc = dri_ttm_emit_reloc;
     bufmgr_ttm->bufmgr.process_relocs = dri_ttm_process_reloc;
     bufmgr_ttm->bufmgr.post_submit = dri_ttm_post_submit;
+    bufmgr_ttm->bufmgr.debug = GL_FALSE;
 
     return &bufmgr_ttm->bufmgr;
 }