summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/r300/r300_cmdbuf.c
diff options
context:
space:
mode:
authorOliver McFadden <z3ro.geek@gmail.com>2007-05-09 03:32:15 +0000
committerOliver McFadden <z3ro.geek@gmail.com>2007-05-09 03:32:15 +0000
commit28b47110b617c137ba18b9273c6172135a99b29d (patch)
treefb5f62a876fef21d9ff5d8220f53e9ae9b909cf3 /src/mesa/drivers/dri/r300/r300_cmdbuf.c
parentfe2c58d2d520d49bbf4c922885ae4f0bf27fcde9 (diff)
r300: Converted exit calls to _mesa_exit calls.
Note that the exit codes are inconsistent and should be fixed.
Diffstat (limited to 'src/mesa/drivers/dri/r300/r300_cmdbuf.c')
-rw-r--r--src/mesa/drivers/dri/r300/r300_cmdbuf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_cmdbuf.c b/src/mesa/drivers/dri/r300/r300_cmdbuf.c
index dbb38bf3ac..9bfdc85c4a 100644
--- a/src/mesa/drivers/dri/r300/r300_cmdbuf.c
+++ b/src/mesa/drivers/dri/r300/r300_cmdbuf.c
@@ -122,7 +122,7 @@ int r300FlushCmdBuf(r300ContextPtr r300, const char *caller)
if (ret) {
fprintf(stderr, "drmRadeonCmdBuffer: %d (exiting)\n", ret);
- exit(ret);
+ _mesa_exit(ret);
}
return ret;