summaryrefslogtreecommitdiff
path: root/src/mesa
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2006-06-13 14:50:44 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2006-06-13 14:50:44 +0000
commit212d7e836979552eae7f91849295a8c7542fcf01 (patch)
treea9b39e22f993d48917c2ba16bab8873cbc6f8872 /src/mesa
parent73e73ffdd5a3df45a61c3cd975b21c8cfc03f050 (diff)
minor simplification in texcoord array import
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/tnl/t_array_import.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/tnl/t_array_import.c b/src/mesa/tnl/t_array_import.c
index 1b8fe0dd03..906515f8d8 100644
--- a/src/mesa/tnl/t_array_import.c
+++ b/src/mesa/tnl/t_array_import.c
@@ -313,7 +313,7 @@ void _tnl_vb_bind_arrays( GLcontext *ctx, GLint start, GLint end)
i = index - VERT_ATTRIB_TEX0;
_tnl_import_texcoord( ctx, i, GL_FALSE, GL_FALSE );
tmp->TexCoord[i].count = VB->Count;
- VB->AttribPtr[_TNL_ATTRIB_TEX0 + i] = &tmp->TexCoord[i];
+ VB->AttribPtr[index] = &tmp->TexCoord[i];
}
else {
_tnl_constant_attrib(tnl, tmp, index);