summaryrefslogtreecommitdiffstats
path: root/src/mesa/swrast/s_feedback.c
diff options
context:
space:
mode:
authorKarl Schultz <[email protected]>2001-09-19 20:30:44 +0000
committerKarl Schultz <[email protected]>2001-09-19 20:30:44 +0000
commit7c4268176eaaeb45003db4d5042a518b84c9f6dc (patch)
tree7359bd33704a6bd32b471049be4744ce27db099f /src/mesa/swrast/s_feedback.c
parent2fc06af470da1929ac2fffc8d38a5d5ac87490bb (diff)
silence compiler warnings (last batch for src)
Diffstat (limited to 'src/mesa/swrast/s_feedback.c')
-rw-r--r--src/mesa/swrast/s_feedback.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/swrast/s_feedback.c b/src/mesa/swrast/s_feedback.c
index 2b42ce210eb..f25b179a2c5 100644
--- a/src/mesa/swrast/s_feedback.c
+++ b/src/mesa/swrast/s_feedback.c
@@ -1,4 +1,4 @@
-/* $Id: s_feedback.c,v 1.8 2001/06/12 22:06:53 brianp Exp $ */
+/* $Id: s_feedback.c,v 1.9 2001/09/19 20:30:44 kschultz Exp $ */
/*
* Mesa 3-D graphics library
@@ -58,7 +58,7 @@ static void feedback_vertex( GLcontext *ctx,
win[0] = v->win[0];
win[1] = v->win[1];
win[2] = v->win[2] / ctx->DepthMaxF;
- win[3] = 1.0 / v->win[3];
+ win[3] = 1.0F / v->win[3];
color[0] = CHAN_TO_FLOAT(pv->color[0]);
color[1] = CHAN_TO_FLOAT(pv->color[1]);