summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mesa/main/api_arrayelt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/api_arrayelt.c b/src/mesa/main/api_arrayelt.c
index 27a2c0a3831..f42854a4db6 100644
--- a/src/mesa/main/api_arrayelt.c
+++ b/src/mesa/main/api_arrayelt.c
@@ -726,7 +726,7 @@ static void _ae_update_state( GLcontext *ctx )
struct gl_client_array *attribArray = &ctx->Array.TexCoord[i];
at->array = attribArray;
at->func = AttribFuncs[at->array->Normalized][at->array->Size-1][TYPE_IDX(at->array->Type)];
- at->index = i;
+ at->index = VERT_ATTRIB_TEX0 + i;
at++;
}
}