diff options
author | Brian <[email protected]> | 2007-08-16 11:06:13 +0100 |
---|---|---|
committer | Brian <[email protected]> | 2007-08-16 11:06:13 +0100 |
commit | fe469007037d9d5cdbe1677d8ff7368b276e9e7c (patch) | |
tree | fdaedcf53cc2177740b2636f15dbd14fd9db46b0 /src/mesa/drivers | |
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')
-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 89865d96379..64946385b6d 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); |