mesa: rework bind_buffer_object()
authorTimothy Arceri <tarceri@itsqueeze.com>
Tue, 4 Apr 2017 05:40:06 +0000 (15:40 +1000)
committerTimothy Arceri <tarceri@itsqueeze.com>
Wed, 5 Apr 2017 22:25:36 +0000 (08:25 +1000)
commit8feb5bb40235abb39198025ea890934e04c21c1c
tree64ea71f422564e628538ab4906ec8e3ac201fc98
parentd1c1544a49e98431a7cab3d5fe89ac2ddbe4008d
mesa: rework bind_buffer_object()

This allows internal users to pass buffer objects directly and
allows for KHR_no_error support to be more easily added.

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/mesa/main/bufferobj.c