From: Brian Date: Thu, 26 Jul 2007 14:22:28 +0000 (-0600) Subject: fix color interpolation for CHAN_BITS==32 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=51b728cf9aff383142a2a1e220a7d8963d1ca189;p=mesa.git fix color interpolation for CHAN_BITS==32 --- diff --git a/src/mesa/swrast/s_span.c b/src/mesa/swrast/s_span.c index f23272c2bee..cfc65bee87f 100644 --- a/src/mesa/swrast/s_span.c +++ b/src/mesa/swrast/s_span.c @@ -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) {