Index: src/mesa/swrast/s_span.c |
=================================================================== |
--- src/mesa/swrast/s_span.c (revision 210110) |
+++ src/mesa/swrast/s_span.c (working copy) |
@@ -1330,8 +1330,8 @@ |
colorType == GL_FLOAT); |
/* set span->array->rgba to colors for renderbuffer's datatype */ |
- if (span->array->ChanType != colorType) { |
- convert_color_type(span, colorType, 0); |
+ if (span->array->ChanType != colorType || multiFragOutputs) { |
+ convert_color_type(span, colorType, buf); |
} |
else { |
if (span->array->ChanType == GL_UNSIGNED_BYTE) { |