diff options
author | Oliver McFadden <z3ro.geek@gmail.com> | 2007-05-09 03:36:28 +0000 |
---|---|---|
committer | Oliver McFadden <z3ro.geek@gmail.com> | 2007-05-09 03:36:28 +0000 |
commit | b8640db021feca2765df8ad3d31e9c818cc352ac (patch) | |
tree | 8429b5e3895a7e5c700c3d2aec4ff3f2aa4edd3f /src/mesa/drivers/dri/r300/r300_state.c | |
parent | 28b47110b617c137ba18b9273c6172135a99b29d (diff) | |
download | external_mesa3d-b8640db021feca2765df8ad3d31e9c818cc352ac.zip external_mesa3d-b8640db021feca2765df8ad3d31e9c818cc352ac.tar.gz external_mesa3d-b8640db021feca2765df8ad3d31e9c818cc352ac.tar.bz2 |
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.c | 2 |
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 fbdb4ca..18c15ae 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); |