summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian <brian.paul@tungstengraphics.com>2007-07-26 08:22:28 -0600
committerBrian <brian.paul@tungstengraphics.com>2007-07-26 08:22:28 -0600
commit51b728cf9aff383142a2a1e220a7d8963d1ca189 (patch)
tree6ce161ed8b6552f3ab3606bf7490872faa563720
parentefda5cb6263631175aa2efe46df9322b3c5775ee (diff)
downloadexternal_mesa3d-51b728cf9aff383142a2a1e220a7d8963d1ca189.zip
external_mesa3d-51b728cf9aff383142a2a1e220a7d8963d1ca189.tar.gz
external_mesa3d-51b728cf9aff383142a2a1e220a7d8963d1ca189.tar.bz2
fix color interpolation for CHAN_BITS==32
-rw-r--r--src/mesa/swrast/s_span.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/swrast/s_span.c b/src/mesa/swrast/s_span.c
index f23272c..cfc65be 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) {