tnl: Replace deprecated TexCoordPtr with AttribPtr[_TNL_ATTRIB_TEX*]

This commit is contained in:
Eric Anholt
2009-11-17 16:00:53 -08:00
parent 22bcb59a95
commit df582ca767
28 changed files with 165 additions and 172 deletions

View File

@@ -263,10 +263,6 @@ static void bind_inputs( GLcontext *ctx,
VB->SecondaryColorPtr[1] = NULL;
VB->FogCoordPtr = VB->AttribPtr[_TNL_ATTRIB_FOG];
for (i = 0; i < ctx->Const.MaxTextureCoordUnits; i++) {
VB->TexCoordPtr[i] = VB->AttribPtr[_TNL_ATTRIB_TEX0 + i];
}
/* Clipping and drawing code still requires this to be a packed
* array of ubytes which can be written into. TODO: Fix and
* remove.