fix StepX/StepY typo
authorBrian <brian.paul@tungstengraphics.com>
Tue, 3 Jul 2007 16:06:13 +0000 (10:06 -0600)
committerBrian <brian.paul@tungstengraphics.com>
Tue, 3 Jul 2007 16:06:13 +0000 (10:06 -0600)
src/mesa/swrast/s_tritemp.h

index f5bc03e81e4a878599bd6aa588d1ee17509cd93b..cded4a6c1c414a1715f66b365efe8162a06bfec6 100644 (file)
@@ -393,7 +393,7 @@ static void NAME(GLcontext *ctx, const SWvertex *v0,
         span.greenStep = 0;
         span.blueStep  = 0;
 #  ifdef INTERP_ALPHA
-         span.attrStepX[FRAG_ATTRIB_COL0][3] = span.attrStepX[FRAG_ATTRIB_COL0][3] = 0.0F;
+         span.attrStepX[FRAG_ATTRIB_COL0][3] = span.attrStepY[FRAG_ATTRIB_COL0][3] = 0.0F;
         span.alphaStep = 0;
 #  endif
       }