mesa: add vertex_array_vertex_buffers_err() helper
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 31 May 2017 10:35:25 +0000 (12:35 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 7 Jun 2017 09:03:40 +0000 (11:03 +0200)
commita11c7e3fb51ff185675220083d4d33c7ee6a58c5
tree7fdbf5e66b9e6dc31019497c504d80ffe5db2829
parentf075c2bc0b249efe59a818c89de20de81279e3d9
mesa: add vertex_array_vertex_buffers_err() helper

This also adds a 'no_error' parameter to vertex_array_vertex_buffer()
to be used in a following patch.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
src/mesa/main/varray.c