summaryrefslogtreecommitdiff
path: root/src/mesa/main
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2004-02-24 14:59:26 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2004-02-24 14:59:26 +0000
commit9d1ff8c1bb56b9ba0d3bf4552351d8bff6620ef2 (patch)
tree4398a3a5039f7eac85a4397965f8e6baa219f199 /src/mesa/main
parent2615e81620bf91cc642b3373c41353b440242fee (diff)
fix incorrect texcoord attribute index
Diffstat (limited to 'src/mesa/main')
-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 27a2c0a383..f42854a4db 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++;
}
}