The one exception is 300FlushCmdBuf.
UNLOCK_HARDWARE(&r300->radeon);
if (ret) {
- fprintf(stderr, "drmRadeonCmdBuffer: %d (exiting)\n", ret);
+ fprintf(stderr, "drmRadeonCmdBuffer: %d\n", ret);
_mesa_exit(ret);
}
break;
default:
assert(0);
- _mesa_exit(1);
+ _mesa_exit(-1);
break;
}
return;
} else if (r300IsGartMemory(rmesa, elts, 1)) {
WARN_ONCE("Pointer not within GART memory!\n");
- _mesa_exit(1);
+ _mesa_exit(-1);
}
r300AllocDmaRegion(rmesa, rvb, n_elts * elt_size, elt_size);
if (i == ctx->Const.MaxTextureUnits) {
fprintf(stderr, "\tno free texcoord found...\n");
- _mesa_exit(0);
+ _mesa_exit(-1);
}
InputsRead |= (FRAG_BIT_TEX0 << i);
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);
}
}
*/
default:
fprintf(stderr, "problem in %s", __FUNCTION__);
- _mesa_exit(0);
+ _mesa_exit(-1);
}
}
*/
default:
fprintf(stderr, "problem in %s", __FUNCTION__);
- _mesa_exit(0);
+ _mesa_exit(-1);
}
}
if(i == ctx->Const.MaxTextureUnits){
fprintf(stderr, "\tno free texcoord found\n");
- _mesa_exit(0);
+ _mesa_exit(-1);
}
InputsRead |= (FRAG_BIT_TEX0 << i);