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:56:17 +0000 (08:56 -0600)
commit087ee474ed1dcf9b09c13227d442e6580f828f57
tree437959427053c06d9ba8b25c7cd2cb80eb963e75
parent6fdc057887bd5e1e5f5ae2781529df050b3a31c6
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