mesa: use an array for default texture objects
authorBrian Paul <brianp@vmware.com>
Sat, 21 Feb 2009 20:59:29 +0000 (13:59 -0700)
committerBrian Paul <brianp@vmware.com>
Sat, 21 Feb 2009 20:59:29 +0000 (13:59 -0700)
commit4d24b639d160fe485a3e8f7395e7654538be29e0
tree189413bbaf62937bdcf8ca65c80bb0fb559d43ed
parent9705cff2033f1771a39ac3bb78eb5fcea522218a
mesa: use an array for default texture objects

Replace Default1D/2D/3D/Cube/etc with DefaultTex[TEXTURE_x_INDEX].
The same should be done with the Current1D/2D/3D/etc pointers...
src/mesa/main/context.c
src/mesa/main/mtypes.h
src/mesa/main/texobj.c
src/mesa/main/texstate.c