mesa: new _mesa_is_bufferobj() function
authorBrian Paul <brianp@vmware.com>
Wed, 12 Aug 2009 19:44:43 +0000 (13:44 -0600)
committerBrian Paul <brianp@vmware.com>
Wed, 12 Aug 2009 23:28:45 +0000 (17:28 -0600)
commitabbf83551f2ec1d168c3f8449eeed8dad7b394b8
treec527c8cf26140a9492c9737d8f6fb7a21bb95134
parentd64649a316858a390bafe2aa619be3cf2c98ffde
mesa: new _mesa_is_bufferobj() function

Tests if the given buffer object is a user-created, non-default buffer object.
Use this instead of testing bufferobj->Name != 0.
src/mesa/main/bufferobj.h