mesa: Replace Proxy1D/2D/etc with ProxyTex[] indexed by TEXTURE_x_INDEX.
authorBrian Paul <brian.paul@tungstengraphics.com>
Fri, 4 Jul 2008 16:37:07 +0000 (10:37 -0600)
committerBrian Paul <brian.paul@tungstengraphics.com>
Fri, 4 Jul 2008 16:37:07 +0000 (10:37 -0600)
commit0bc2409e3808df54bf7d228475320e2ec4fe80a1
tree216fbb991b29036bc6ee705e293e9307b96b1172
parenta3de65659cf07420363c91ae38dd61468f122ef0
mesa: Replace Proxy1D/2D/etc with ProxyTex[] indexed by TEXTURE_x_INDEX.

Simplification in colortab.c too.

cherry-picked from master (fe469007037d9d5cdbe1677d8ff7368b276e9e7c)
src/mesa/drivers/dri/tdfx/tdfx_tex.c
src/mesa/main/colortab.c
src/mesa/main/mtypes.h
src/mesa/main/teximage.c
src/mesa/main/texstate.c