diff options
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/tnl/t_vb_lighttmp.h | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/mesa/tnl/t_vb_lighttmp.h b/src/mesa/tnl/t_vb_lighttmp.h index 691d9716ac..8d88c6b139 100644 --- a/src/mesa/tnl/t_vb_lighttmp.h +++ b/src/mesa/tnl/t_vb_lighttmp.h @@ -1,4 +1,4 @@ -/* $Id: t_vb_lighttmp.h,v 1.20 2001/12/14 02:51:45 brianp Exp $ */ +/* $Id: t_vb_lighttmp.h,v 1.21 2001/12/19 01:07:50 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -89,7 +89,6 @@ static void TAG(light_rgba_spec)( GLcontext *ctx, struct light_stage_data *store = LIGHT_STAGE_DATA(stage); GLfloat (*base)[3] = ctx->Light._BaseColor; GLchan sumA[2]; - GLuint j; GLuint vstride = input->stride; @@ -104,7 +103,6 @@ static void TAG(light_rgba_spec)( GLcontext *ctx, GLchan (*Bcolor)[4] = (GLchan (*)[4]) store->LitColor[1].Ptr; GLchan (*Fspec)[4] = (GLchan (*)[4]) store->LitSecondary[0].Ptr; GLchan (*Bspec)[4] = (GLchan (*)[4]) store->LitSecondary[1].Ptr; - GLchan (*spec[2])[4]; GLuint nr = VB->Count; GLuint *flags = VB->Flag; @@ -115,13 +113,8 @@ static void TAG(light_rgba_spec)( GLcontext *ctx, (void) nstride; (void) vstride; - - /* fprintf(stderr, "%s\n", __FUNCTION__ ); */ - spec[0] = Fspec; - spec[1] = Bspec; - if (IDX & LIGHT_COLORMATERIAL) { if (VB->ColorPtr[0]->Type != GL_FLOAT || VB->ColorPtr[0]->Size != 4) |