summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/glide/fxtexman.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/drivers/glide/fxtexman.c')
-rw-r--r--src/mesa/drivers/glide/fxtexman.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mesa/drivers/glide/fxtexman.c b/src/mesa/drivers/glide/fxtexman.c
index 2ffaeadd7e0..3944ea2ef6c 100644
--- a/src/mesa/drivers/glide/fxtexman.c
+++ b/src/mesa/drivers/glide/fxtexman.c
@@ -1,4 +1,3 @@
-/* -*- mode: C; tab-width:8; c-basic-offset:2 -*- */
/*
* Mesa 3-D graphics library
@@ -718,7 +717,7 @@ fxTMRestoreTextures_NoLock(fxMesaContext ctx) {
ti=fxTMGetTexInfo(tObj);
if (ti && ti->isInTM) {
for (i=0; i<MAX_TEXTURE_UNITS; i++)
- if (ctx->glCtx->Texture.Unit[i].Current==tObj) {
+ if (ctx->glCtx->Texture.Unit[i]._Current==tObj) {
/* Force the texture onto the board, as it could be in use */
where=ti->whichTMU;
fxTMMoveOutTM_NoLock(ctx, tObj);