mesa: fix incorrect default texture binding in unbind_texobj_from_texunits()
authorBrian Paul <brianp@vmware.com>
Fri, 2 Oct 2009 15:55:07 +0000 (09:55 -0600)
committerBrian Paul <brianp@vmware.com>
Fri, 2 Oct 2009 15:57:00 +0000 (09:57 -0600)
commite1bddd159f364fa04ddec22f568fbfeb775d3b47
treef1e76621ef0fb2061813a59d472e17cc6e3e4417
parent85ee0ef9a72e4ffd6ed0a2442b1272a43508d257
mesa: fix incorrect default texture binding in unbind_texobj_from_texunits()

If we deleted a currently bound texture, we were always reverting the texture
binding to the default 1D texture rather than the proper default texture.
src/mesa/main/texobj.c