mesa: rearrange some code in _mesa_BindTexture() to fix error detection bug 17173
authorBrian Paul <brian.paul@tungstengraphics.com>
Mon, 18 Aug 2008 14:49:41 +0000 (08:49 -0600)
committerBrian Paul <brian.paul@tungstengraphics.com>
Mon, 18 Aug 2008 14:55:13 +0000 (08:55 -0600)
commit6a00625fbb7e42a71daa87f982eee8e9077a0679
treef4486c3986e8cd26d7e19a047a6fad3ee349f845
parentc5d25c85093f089cc58c520785844fc021a09612
mesa: rearrange some code in _mesa_BindTexture() to fix error detection bug 17173

Also, move GL_TEXTURE_RECTANGLE init code into separate function.
src/mesa/main/texobj.c