mesa: Drop the "target" parameter from NewBufferObject().
authorKenneth Graunke <kenneth@whitecape.org>
Wed, 15 Oct 2014 20:00:39 +0000 (13:00 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 16 Oct 2014 17:56:19 +0000 (10:56 -0700)
commit63c6509ad2e2707cca0ff3ba6fbc5582c3e2eea5
tree23d89d1d6dd4d0ffa274af59c8ebcc32ec0ece27
parentaf31f930ab824e018407dcbeb242100036b3c458
mesa: Drop the "target" parameter from NewBufferObject().

NewBufferObject took a "target" parameter, which it blindly passed to
_mesa_initialize_buffer_object(), which ignored it.

Not much point in passing it around.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/drivers/dri/i915/intel_buffer_objects.c
src/mesa/drivers/dri/i965/intel_buffer_objects.c
src/mesa/drivers/dri/nouveau/nouveau_bufferobj.c
src/mesa/drivers/dri/radeon/radeon_buffer_objects.c
src/mesa/main/bufferobj.c
src/mesa/main/bufferobj.h
src/mesa/main/dd.h
src/mesa/main/shared.c
src/mesa/state_tracker/st_cb_bufferobjects.c
src/mesa/vbo/vbo_exec_api.c
src/mesa/vbo/vbo_save_api.c