From 9d1ff8c1bb56b9ba0d3bf4552351d8bff6620ef2 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Tue, 24 Feb 2004 14:59:26 +0000 Subject: [PATCH] fix incorrect texcoord attribute index --- src/mesa/main/api_arrayelt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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++; } } -- 2.30.2