st/mesa: remove redundant st_buffer_object::size field and error checks
authorBrian Paul <brianp@vmware.com>
Fri, 19 Jun 2009 18:19:15 +0000 (12:19 -0600)
committerBrian Paul <brianp@vmware.com>
Fri, 19 Jun 2009 18:19:15 +0000 (12:19 -0600)
commit9d029e0e200eb97993c1b9fb8ab9046172e703e8
treee69f18ad7039d4e3d5ecab12fe351fbdde2b908f
parent1ffd074436949f3958127cc5ae7c7c9e9e9e0bf8
st/mesa: remove redundant st_buffer_object::size field and error checks

Just use the gl_buffer_object::Size field.  Remove unnecessary size/offset
error checks.  Core Mesa will have already done these checks before these
functions are called.
src/mesa/state_tracker/st_cb_bufferobjects.c
src/mesa/state_tracker/st_cb_bufferobjects.h