summaryrefslogtreecommitdiff
path: root/src/tdfx_tex.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tdfx_tex.c')
-rw-r--r--src/tdfx_tex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tdfx_tex.c b/src/tdfx_tex.c
index 89865d9..6494638 100644
--- a/src/tdfx_tex.c
+++ b/src/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);