Signed-off-by: Nayan Deshmukh <[email protected]>
---
src/mesa/drivers/dri/r200/r200_swtcl.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/mesa/drivers/dri/r200/r200_swtcl.c
b/src/mesa/drivers/dri/r200/r200_swtcl.c
index 72f09ae..d3fb37f 100644
--- a/src/mesa/drivers/dri/r200/r200_swtcl.c
+++ b/src/mesa/drivers/dri/r200/r200_swtcl.c
@@ -835,9 +835,9 @@ r200PointsBitmap( struct gl_context *ctx, GLint px, GLint
py,
else
f = _swrast_z_to_fogfactor(ctx, ctx->Current.RasterDistance);
- color[0] = f * rc[0] + (1.F - f) * fc[0];
- color[1] = f * rc[1] + (1.F - f) * fc[1];
- color[2] = f * rc[2] + (1.F - f) * fc[2];
+ color[0] = f * rc[0] + (1.0F - f) * fc[0];
+ color[1] = f * rc[1] + (1.0F - f) * fc[1];
+ color[2] = f * rc[2] + (1.0F - f) * fc[2];
color[3] = rc[3];
UNCLAMPED_FLOAT_TO_CHAN(vert.tv.color.red, color[0]);
--
2.5.5
_______________________________________________
mesa-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-dev