mesa: fix glDeleteBuffers() regression
authorBrian Paul <brianp@vmware.com>
Thu, 11 Nov 2010 22:31:28 +0000 (15:31 -0700)
committerBrian Paul <brianp@vmware.com>
Thu, 11 Nov 2010 22:31:36 +0000 (15:31 -0700)
commit78587ea0122d34e13c078d095aa5b730ce24bb73
tree451c5d941809e485695ec54ac0ac52f0f17c6514
parentc552f273f559968dfd770367e25329baccbcd0c4
mesa: fix glDeleteBuffers() regression

This fixes a regression (failed assertion) from commit
c552f273f559968dfd770367e25329baccbcd0c4 which was hit if glDeleteBuffers()
was called on a buffer that was never bound.

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