pipebuffer: Silence out of heap space debug print
authorJakob Bornecrantz <jakob@vmware.com>
Mon, 8 Jun 2009 14:46:06 +0000 (16:46 +0200)
committerJakob Bornecrantz <jakob@vmware.com>
Mon, 8 Jun 2009 17:54:55 +0000 (19:54 +0200)
src/gallium/auxiliary/pipebuffer/pb_bufmgr_mm.c

index 5a342fbf3b195fcb03beb3d7926f1ac92b8d9f6a..d8decba49dffd192a48b1801b7d14c4f450315ce 100644 (file)
@@ -200,8 +200,8 @@ mm_bufmgr_create_buffer(struct pb_manager *mgr,
    
    mm_buf->block = u_mmAllocMem(mm->heap, size, mm->align2, 0);
    if(!mm_buf->block) {
-      debug_printf("warning: heap full\n");
 #if 0
+      debug_printf("warning: heap full\n");
       mmDumpMemInfo(mm->heap);
 #endif
       FREE(mm_buf);