summaryrefslogtreecommitdiff
path: root/src/mesa/main/execmem.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/main/execmem.c')
-rw-r--r--src/mesa/main/execmem.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/mesa/main/execmem.c b/src/mesa/main/execmem.c
index 3f4c75939d..b7cbc818c6 100644
--- a/src/mesa/main/execmem.c
+++ b/src/mesa/main/execmem.c
@@ -85,10 +85,8 @@ _mesa_exec_malloc(GLuint size)
if (block)
addr = exec_mem + block->ofs;
- else {
- _mesa_printf("%s failed\n", __FUNCTION__);
- exit(1);
- }
+ else
+ _mesa_printf("_mesa_exec_malloc failed\n");
_glthread_UNLOCK_MUTEX(exec_mutex);