tnl: Replace deprecated FogCoordPtr with AttribPtr[_TNL_ATTRIB_FOG]

This commit is contained in:
Eric Anholt
2009-11-18 01:45:42 -08:00
parent 0a91878015
commit 37c79d4d76
12 changed files with 22 additions and 33 deletions

View File

@@ -251,13 +251,10 @@ static void bind_inputs( GLcontext *ctx,
*/
VB->Count = count;
/* Legacy pointers -- remove one day.
*/
/* These should perhaps be part of _TNL_ATTRIB_* */
VB->BackfaceColorPtr = NULL;
VB->BackfaceIndexPtr = NULL;
VB->BackfaceSecondaryColorPtr = NULL;
VB->FogCoordPtr = VB->AttribPtr[_TNL_ATTRIB_FOG];
/* Clipping and drawing code still requires this to be a packed
* array of ubytes which can be written into. TODO: Fix and