diff options
author | Brian Paul <[email protected]> | 2004-02-24 14:59:26 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2004-02-24 14:59:26 +0000 |
commit | 9d1ff8c1bb56b9ba0d3bf4552351d8bff6620ef2 (patch) | |
tree | 4398a3a5039f7eac85a4397965f8e6baa219f199 | |
parent | 2615e81620bf91cc642b3373c41353b440242fee (diff) |
fix incorrect texcoord attribute index
-rw-r--r-- | src/mesa/main/api_arrayelt.c | 2 |
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++; } } |