From 0f3cd3f894612d156de454178effa4c732f96da7 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Tue, 25 Nov 2003 22:45:59 +0000 Subject: current raster color index should be GLfloat --- src/mesa/swrast/s_span.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mesa/swrast/s_span.c') diff --git a/src/mesa/swrast/s_span.c b/src/mesa/swrast/s_span.c index 013114768d..769b551e71 100644 --- a/src/mesa/swrast/s_span.c +++ b/src/mesa/swrast/s_span.c @@ -110,7 +110,7 @@ _swrast_span_default_color( GLcontext *ctx, struct sw_span *span ) span->interpMask |= SPAN_RGBA; } else { - span->index = IntToFixed(ctx->Current.RasterIndex); + span->index = FloatToFixed(ctx->Current.RasterIndex); span->indexStep = 0; span->interpMask |= SPAN_INDEX; } -- cgit v1.2.3