From c6a14906c61d3cc1a9849d20d587e719ba8672b9 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Wed, 19 Dec 2001 01:07:50 +0000 Subject: remove some cruft --- src/mesa/tnl/t_vb_lighttmp.h | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'src/mesa/tnl') 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) -- cgit v1.2.3