diff options
author | Brian Paul <[email protected]> | 2003-11-25 22:45:59 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2003-11-25 22:45:59 +0000 |
commit | 0f3cd3f894612d156de454178effa4c732f96da7 (patch) | |
tree | 429ee71c2a0153eb471c8ab9795d15757b304908 /src/mesa/swrast/s_span.c | |
parent | 7df4f95314a91afe92ca7d1eb0effa1dda7ac844 (diff) |
current raster color index should be GLfloat
Diffstat (limited to 'src/mesa/swrast/s_span.c')
-rw-r--r-- | src/mesa/swrast/s_span.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/swrast/s_span.c b/src/mesa/swrast/s_span.c index 013114768d2..769b551e712 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; } |