OSDN Git Service

remove some cruft
authorBrian Paul <brian.paul@tungstengraphics.com>
Wed, 19 Dec 2001 01:07:50 +0000 (01:07 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Wed, 19 Dec 2001 01:07:50 +0000 (01:07 +0000)
src/mesa/tnl/t_vb_lighttmp.h

index 691d971..8d88c6b 100644 (file)
@@ -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)