mesa: avoid setting texObj->_Complete = GL_FALSE when there's no state change
authorBrian Paul <brianp@vmware.com>
Mon, 9 Feb 2009 20:58:32 +0000 (13:58 -0700)
committerBrian Paul <brianp@vmware.com>
Mon, 9 Feb 2009 21:00:47 +0000 (14:00 -0700)
commitaad3f546a046fe40b771e5d5f965b29189821d51
treea937be6c4b3b887c4ee9e19eafbf40020e93c600
parent37c768b36aad22ecad48c7caab272354383e26a7
mesa: avoid setting texObj->_Complete = GL_FALSE when there's no state change

Avoid a little bit of unneeded state validation and fixes a bug where the
texture complete flags was set to false, but we didn't signal _NEW_TEXTURE.

Fixes piglit tex1d-2dborder failure.
src/mesa/main/texparam.c