mesa: make glIsBuffer() return false for never bound buffers
authorBrian Paul <brianp@vmware.com>
Thu, 11 Nov 2010 21:47:30 +0000 (14:47 -0700)
committerBrian Paul <brianp@vmware.com>
Thu, 11 Nov 2010 21:49:53 +0000 (14:49 -0700)
commitc552f273f559968dfd770367e25329baccbcd0c4
treec5ffc1faf045a264d6564d5c256d3fb78e799a51
parentd67df5dd9db1cede92f1b177c890f83809bb4582
mesa: make glIsBuffer() return false for never bound buffers

Use a dummy buffer object as we do for frame/renderbuffer objects.
Fixes http://bugs.freedesktop.org/show_bug.cgi?id=31514

Note: this is a candidate for the 7.9 branch.
src/mesa/main/bufferobj.c