util: added util_set_index_buffer()
authorBrian Paul <brianp@vmware.com>
Tue, 1 Sep 2015 22:29:17 +0000 (16:29 -0600)
committerBrian Paul <brianp@vmware.com>
Tue, 1 Sep 2015 22:29:17 +0000 (16:29 -0600)
commit84dad65088147fa8c177c3e6aea20c8ae0868fde
tree40192fd330ba438884480dc7cf85570bec877578
parent47b4efc710defee5a2bf81ad7c7626eee4e9aba5
util: added util_set_index_buffer()

Like util_set_vertex_buffers_count(), this basically just copies a
pipe_index_buffer object, taking care of refcounting.
src/gallium/auxiliary/util/u_helpers.c
src/gallium/auxiliary/util/u_helpers.h