summaryrefslogtreecommitdiff
path: root/src/mesa/tnl/t_draw.c
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2009-11-18 01:45:42 -0800
committerEric Anholt <eric@anholt.net>2009-11-19 11:47:05 +0100
commit37c79d4d765b10a79e0cf217cc1e70d3fbb7a0c5 (patch)
tree25de0047fdcf04503e4aed5e788aa307fa228415 /src/mesa/tnl/t_draw.c
parent0a9187801505130738ae947c69cafa8a1dd118d1 (diff)
tnl: Replace deprecated FogCoordPtr with AttribPtr[_TNL_ATTRIB_FOG]
Diffstat (limited to 'src/mesa/tnl/t_draw.c')
-rw-r--r--src/mesa/tnl/t_draw.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/mesa/tnl/t_draw.c b/src/mesa/tnl/t_draw.c
index 0862fdfa85..1c7c733883 100644
--- a/src/mesa/tnl/t_draw.c
+++ b/src/mesa/tnl/t_draw.c
@@ -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