summaryrefslogtreecommitdiff
path: root/src/mesa/tnl/t_vb_lighttmp.h
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2001-12-19 01:07:50 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2001-12-19 01:07:50 +0000
commitc6a14906c61d3cc1a9849d20d587e719ba8672b9 (patch)
tree3a9611ee92bf69e3cda5d6a9c4abef35f49a2281 /src/mesa/tnl/t_vb_lighttmp.h
parent530da27edb89df046fba3463d2dc9d936547da5e (diff)
remove some cruft
Diffstat (limited to 'src/mesa/tnl/t_vb_lighttmp.h')
-rw-r--r--src/mesa/tnl/t_vb_lighttmp.h9
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)