mesa: change ctx->Driver.BufferData() to return GLboolean for success/failure
authorBrian Paul <brianp@vmware.com>
Thu, 3 Sep 2009 15:41:41 +0000 (09:41 -0600)
committerBrian Paul <brianp@vmware.com>
Thu, 3 Sep 2009 15:42:38 +0000 (09:42 -0600)
commit2f6d2a9e27f8582591dc60655f7d7b14d7552bbc
tree899c13067d3dd04223bf214e43209e32878cf041
parent848ab8be8c34b00b2afe6120882f8c29f047ced5
mesa: change ctx->Driver.BufferData() to return GLboolean for success/failure

Return GL_FALSE if we failed to allocate the buffer.  Then raise
GL_OUT_OF_MEMORY in core Mesa.
src/mesa/drivers/dri/intel/intel_buffer_objects.c
src/mesa/drivers/dri/radeon/radeon_buffer_objects.c
src/mesa/main/bufferobj.c
src/mesa/main/dd.h
src/mesa/state_tracker/st_cb_bufferobjects.c