mesa: Unbind GL_TEXTURE_BUFFER on DeleteBuffers.
authorKenneth Graunke <kenneth@whitecape.org>
Sun, 10 Jun 2012 04:44:58 +0000 (21:44 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 11 Jun 2012 20:30:32 +0000 (13:30 -0700)
commit45c21f852ec88fb4e784b53a1828d9a52d9dc67f
treefec96ab7c476d42feefd3207d17bbac69523aa7d
parentbbb67c3efcf0ba76ee0cb891206284ad84b9cb61
mesa: Unbind GL_TEXTURE_BUFFER on DeleteBuffers.

Fixes oglconform's tbo/basic.buffer.delete test.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/main/bufferobj.c