summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/r300/r300_state.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_state.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_state.c')
-rw-r--r--src/mesa/drivers/dri/r300/r300_state.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_state.c b/src/mesa/drivers/dri/r300/r300_state.c
index fbdb4ca98f..18c15ae83d 100644
--- a/src/mesa/drivers/dri/r300/r300_state.c
+++ b/src/mesa/drivers/dri/r300/r300_state.c
@@ -1514,7 +1514,7 @@ void r300_setup_rs_unit(GLcontext * ctx)
if (i == ctx->Const.MaxTextureUnits) {
fprintf(stderr, "\tno free texcoord found...\n");
- _mesa_exit(0);
+ _mesa_exit(-1);
}
InputsRead |= (FRAG_BIT_TEX0 << i);