From: Jakob Bornecrantz Date: Mon, 8 Jun 2009 14:46:06 +0000 (+0200) Subject: pipebuffer: Silence out of heap space debug print X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=77c329a2773820c57e7b286858e80a596f89ef94;p=mesa.git pipebuffer: Silence out of heap space debug print --- diff --git a/src/gallium/auxiliary/pipebuffer/pb_bufmgr_mm.c b/src/gallium/auxiliary/pipebuffer/pb_bufmgr_mm.c index 5a342fbf3b1..d8decba49df 100644 --- a/src/gallium/auxiliary/pipebuffer/pb_bufmgr_mm.c +++ b/src/gallium/auxiliary/pipebuffer/pb_bufmgr_mm.c @@ -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);