mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 18:18:06 +02:00
pb: don't assert(0) on failure to allocate - this is a normal condition in many drivers
This commit is contained in:
parent
34ff12ca1f
commit
23d340c9ed
1 changed files with 0 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue