fix color interpolation for CHAN_BITS==32
authorBrian <brian.paul@tungstengraphics.com>
Thu, 26 Jul 2007 14:22:28 +0000 (08:22 -0600)
committerBrian <brian.paul@tungstengraphics.com>
Thu, 26 Jul 2007 14:22:28 +0000 (08:22 -0600)
src/mesa/swrast/s_span.c

index f23272c2beec5271433972883341f1ee0a1382c2..cfc65bee87fe101310a3e3298c8e8cd161f0aaaf 100644 (file)
@@ -1358,7 +1358,7 @@ _swrast_write_rgba_span( GLcontext *ctx, SWspan *span)
 
 #if CHAN_BITS == 32
    if ((span->arrayAttribs & FRAG_BIT_COL0) == 0) {
-      interpolate_int_colors(ctx, span);
+      interpolate_active_attribs(ctx, span, FRAG_BIT_COL0);
    }
 #else
    if ((span->arrayMask & SPAN_RGBA) == 0) {