summaryrefslogtreecommitdiff
path: root/src/mesa/tnl/t_vb_light.c
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2009-11-17 23:38:35 -0800
committerEric Anholt <eric@anholt.net>2009-11-19 11:47:05 +0100
commitfc9a2970dc539b21b035ea0a770ec69822962145 (patch)
tree2b5e96f0bc0ac1540936dfc349e082de2e839d11 /src/mesa/tnl/t_vb_light.c
parent165b860da6f16ef4817a4959774a57f57ba3756d (diff)
tnl: Replace deprecated IndexPtr[] with AttribPtr[] or new BackfaceIndexPtr
Diffstat (limited to 'src/mesa/tnl/t_vb_light.c')
-rw-r--r--src/mesa/tnl/t_vb_light.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mesa/tnl/t_vb_light.c b/src/mesa/tnl/t_vb_light.c
index 360452192d..e72a807f0d 100644
--- a/src/mesa/tnl/t_vb_light.c
+++ b/src/mesa/tnl/t_vb_light.c
@@ -248,7 +248,6 @@ static GLboolean run_lighting( GLcontext *ctx,
VB->AttribPtr[_TNL_ATTRIB_COLOR0] = VB->ColorPtr[0];
VB->AttribPtr[_TNL_ATTRIB_COLOR1] = VB->SecondaryColorPtr[0];
- VB->AttribPtr[_TNL_ATTRIB_COLOR_INDEX] = VB->IndexPtr[0];
return GL_TRUE;
}