Mesa (mesa_7_5_branch): pipebuffer: Silence out of heap space debug print

Jakob Bornecrantz wallbraker at kemper.freedesktop.org
Mon Jun 8 19:09:05 UTC 2009


Module: Mesa
Branch: mesa_7_5_branch
Commit: 77c329a2773820c57e7b286858e80a596f89ef94
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=77c329a2773820c57e7b286858e80a596f89ef94

Author: Jakob Bornecrantz <jakob at vmware.com>
Date:   Mon Jun  8 16:46:06 2009 +0200

pipebuffer: Silence out of heap space debug print

---

 src/gallium/auxiliary/pipebuffer/pb_bufmgr_mm.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/gallium/auxiliary/pipebuffer/pb_bufmgr_mm.c b/src/gallium/auxiliary/pipebuffer/pb_bufmgr_mm.c
index 5a342fb..d8decba 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);




More information about the mesa-commit mailing list