osmesa: remove old renderbuffer before adding new
authorBrian Paul <brianp@vmware.com>
Sat, 3 Jul 2010 00:18:15 +0000 (18:18 -0600)
committerBrian Paul <brianp@vmware.com>
Sat, 3 Jul 2010 00:22:53 +0000 (18:22 -0600)
commit91c37599f621a0ec498c0f0add14f16470ca852b
treeaeb8f3a964668503f9960becc5158a2bfc204f1f
parent7cc58c1992ca7f8af13801ea430452e590755e32
osmesa: remove old renderbuffer before adding new

Fixes fd.o bug 10966 when OSMesaMakeCurrent() was called twice.

NOTE: This is a candidate for the 7.8 branch.
src/mesa/drivers/osmesa/osmesa.c