main: Add utility function _mesa_lookup_bufferobj_err.
authorLaura Ekstrand <laura@jlekstrand.net>
Sat, 10 Jan 2015 00:16:48 +0000 (16:16 -0800)
committerLaura Ekstrand <laura@jlekstrand.net>
Mon, 9 Mar 2015 20:33:53 +0000 (13:33 -0700)
commit768ca8b83e45b1d23c0d3af0b79cc19c1b3b6988
tree5c633798108c29a285f7228a4ccc5f3269e850cd
parentff011340a499d9fe5c3ead6b46b917578bfeb533
main: Add utility function _mesa_lookup_bufferobj_err.

This function is exposed to mesa driver internals so that texture buffer
objects and array objects can use it.

Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
src/mesa/main/bufferobj.c
src/mesa/main/bufferobj.h