mesa: add buffer_data() and buffer_data_error() helpers
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 20 Jul 2017 08:43:30 +0000 (10:43 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 2 Aug 2017 10:54:31 +0000 (12:54 +0200)
commit7f19018cc3a66c44530994533f1700fba8ee9f7d
tree3663d4f9022bccbeec9a4a12de96cca721e35e23
parent5c27de1ae145e488f643ed321d743826c95f3112
mesa: add buffer_data() and buffer_data_error() helpers

And call buffer_data_error() from _mesa_buffer_data().

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