summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/pipebuffer
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2008-06-12 14:39:57 +0100
committerKeith Whitwell <[email protected]>2008-06-12 14:41:25 +0100
commit23d340c9edbbe64a99478b922c008ae3e2ec7103 (patch)
tree1a691290682513d58c7004ecd8dc611b7287a424 /src/gallium/auxiliary/pipebuffer
parent34ff12ca1fe7153671eea2fe084f3991094ec3ce (diff)
pb: don't assert(0) on failure to allocate - this is a normal condition in many drivers
Diffstat (limited to 'src/gallium/auxiliary/pipebuffer')
-rw-r--r--src/gallium/auxiliary/pipebuffer/pb_bufmgr_mm.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/pipebuffer/pb_bufmgr_mm.c b/src/gallium/auxiliary/pipebuffer/pb_bufmgr_mm.c
index 66256f3fa70..0a1e8c83b10 100644
--- a/src/gallium/auxiliary/pipebuffer/pb_bufmgr_mm.c
+++ b/src/gallium/auxiliary/pipebuffer/pb_bufmgr_mm.c
@@ -184,7 +184,6 @@ mm_bufmgr_create_buffer(struct pb_manager *mgr,
mm_buf->block = mmAllocMem(mm->heap, size, mm->align2, 0);
if(!mm_buf->block) {
- assert(0);
FREE(mm_buf);
_glthread_UNLOCK_MUTEX(mm->mutex);
return NULL;