summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/r300/r300_texmem.c
diff options
context:
space:
mode:
authorOliver McFadden <z3ro.geek@gmail.com>2007-05-09 03:36:28 +0000
committerOliver McFadden <z3ro.geek@gmail.com>2007-05-09 03:36:28 +0000
commitb8640db021feca2765df8ad3d31e9c818cc352ac (patch)
tree8429b5e3895a7e5c700c3d2aec4ff3f2aa4edd3f /src/mesa/drivers/dri/r300/r300_texmem.c
parent28b47110b617c137ba18b9273c6172135a99b29d (diff)
r300: Corrected the exit codes for consistency; they are all -1 for error now.
The one exception is 300FlushCmdBuf.
Diffstat (limited to 'src/mesa/drivers/dri/r300/r300_texmem.c')
-rw-r--r--src/mesa/drivers/dri/r300/r300_texmem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_texmem.c b/src/mesa/drivers/dri/r300/r300_texmem.c
index 4750c468db..5d52f777e3 100644
--- a/src/mesa/drivers/dri/r300/r300_texmem.c
+++ b/src/mesa/drivers/dri/r300/r300_texmem.c
@@ -485,7 +485,7 @@ static void uploadSubImage( r300ContextPtr rmesa, r300TexObjPtr t,
fprintf( stderr, " blit width=%d height=%d data=%p\n",
t->image[face][hwlevel].width, t->image[face][hwlevel].height,
t->image[face][hwlevel].data );
- _mesa_exit( 1 );
+ _mesa_exit(-1);
}
}