aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/swrast/s_bitmap.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2003-11-25 22:45:59 +0000
committerBrian Paul <[email protected]>2003-11-25 22:45:59 +0000
commit0f3cd3f894612d156de454178effa4c732f96da7 (patch)
tree429ee71c2a0153eb471c8ab9795d15757b304908 /src/mesa/swrast/s_bitmap.c
parent7df4f95314a91afe92ca7d1eb0effa1dda7ac844 (diff)
current raster color index should be GLfloat
Diffstat (limited to 'src/mesa/swrast/s_bitmap.c')
-rw-r--r--src/mesa/swrast/s_bitmap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/swrast/s_bitmap.c b/src/mesa/swrast/s_bitmap.c
index 0e20a20d7fb..aeacba88eac 100644
--- a/src/mesa/swrast/s_bitmap.c
+++ b/src/mesa/swrast/s_bitmap.c
@@ -72,7 +72,7 @@ _swrast_Bitmap( GLcontext *ctx, GLint px, GLint py,
}
else {
span.interpMask |= SPAN_INDEX;
- span.index = ChanToFixed(ctx->Current.RasterIndex);
+ span.index = FloatToFixed(ctx->Current.RasterIndex);
span.indexStep = 0;
}
@@ -188,7 +188,7 @@ _swrast_Bitmap( GLcontext *ctx, GLint px, GLint py,
}
else {
span.interpMask |= SPAN_INDEX;
- span.index = ChanToFixed(ctx->Current.RasterIndex);
+ span.index = FloatToFixed(ctx->Current.RasterIndex);
span.indexStep = 0;
}