u_upload_mgr: remove the return value from u_upload_alloc
authorMarek Olšák <marek.olsak@amd.com>
Wed, 2 Sep 2015 13:08:23 +0000 (15:08 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Thu, 3 Sep 2015 16:14:09 +0000 (18:14 +0200)
commit8c6ff05517137ab9d96015783fcf1bf9d8d1fa12
tree67cd2a9eec656895b803ac74f17054cfe9382369
parent6c1e368cf38e02174a8c88218ae711ab0b27954f
u_upload_mgr: remove the return value from u_upload_alloc

The return buffer or the returned pointer can be used instead.

Reviewed-by: Brian Paul <brianp@vmware.com>
src/gallium/auxiliary/util/u_upload_mgr.c
src/gallium/auxiliary/util/u_upload_mgr.h
src/gallium/auxiliary/util/u_vbuf.c
src/mesa/state_tracker/st_cb_bitmap.c
src/mesa/state_tracker/st_cb_clear.c
src/mesa/state_tracker/st_cb_drawpixels.c
src/mesa/state_tracker/st_cb_drawtex.c