mesa: fix some renderbuffer/framebuffer delete semantics
authorBrian Paul <brianp@vmware.com>
Wed, 21 Jan 2009 18:17:45 +0000 (11:17 -0700)
committerBrian Paul <brianp@vmware.com>
Thu, 22 Jan 2009 22:20:45 +0000 (15:20 -0700)
commitd0f13fa7d70c57e698cce9fbde399e80f7afcf47
tree776d01fddf8df22e8e035e7797b8051d3dc3096d
parent3059007f0c2e91f4ef207677cdcb6dc42be7ecb2
mesa: fix some renderbuffer/framebuffer delete semantics

Need to unbind buffers if referenced by the current read/draw pointers when
being deleted.
src/mesa/main/fbobject.c