diff options
author | Brian <brian.paul@tungstengraphics.com> | 2007-08-16 11:06:13 +0100 |
---|---|---|
committer | Brian <brian.paul@tungstengraphics.com> | 2007-08-16 11:06:13 +0100 |
commit | fe469007037d9d5cdbe1677d8ff7368b276e9e7c (patch) | |
tree | fdaedcf53cc2177740b2636f15dbd14fd9db46b0 /src/mesa/drivers/dri/tdfx/tdfx_tex.c | |
parent | 0135ff512d25b221d1a4cf9a5d344420d4ad3341 (diff) |
Replace Proxy1D/2D/etc with ProxyTex[] indexed by TEXTURE_x_INDEX.
Simplification in colortab.c too.
Diffstat (limited to 'src/mesa/drivers/dri/tdfx/tdfx_tex.c')
-rw-r--r-- | src/mesa/drivers/dri/tdfx/tdfx_tex.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/tdfx/tdfx_tex.c b/src/mesa/drivers/dri/tdfx/tdfx_tex.c index 89865d9637..64946385b6 100644 --- a/src/mesa/drivers/dri/tdfx/tdfx_tex.c +++ b/src/mesa/drivers/dri/tdfx/tdfx_tex.c @@ -1822,7 +1822,7 @@ tdfxTestProxyTexImage(GLcontext *ctx, GLenum target, tdfxTexInfo *ti; int memNeeded; - tObj = ctx->Texture.Proxy2D; + tObj = ctx->Texture.ProxyTex[TEXTURE_2D_INDEX]; if (!tObj->DriverData) tObj->DriverData = fxAllocTexObjData(fxMesa); ti = TDFX_TEXTURE_DATA(tObj); |