fix color interpolation for CHAN_BITS==32
This commit is contained in:
parent
efda5cb626
commit
51b728cf9a
|
@ -1358,7 +1358,7 @@ _swrast_write_rgba_span( GLcontext *ctx, SWspan *span)
|
||||||
|
|
||||||
#if CHAN_BITS == 32
|
#if CHAN_BITS == 32
|
||||||
if ((span->arrayAttribs & FRAG_BIT_COL0) == 0) {
|
if ((span->arrayAttribs & FRAG_BIT_COL0) == 0) {
|
||||||
interpolate_int_colors(ctx, span);
|
interpolate_active_attribs(ctx, span, FRAG_BIT_COL0);
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
if ((span->arrayMask & SPAN_RGBA) == 0) {
|
if ((span->arrayMask & SPAN_RGBA) == 0) {
|
||||||
|
|
Loading…
Reference in New Issue