summaryrefslogtreecommitdiff
path: root/src/mesa
diff options
context:
space:
mode:
authorKarl Schultz <kschultz@freedesktop.org>2004-01-13 01:08:23 +0000
committerKarl Schultz <kschultz@freedesktop.org>2004-01-13 01:08:23 +0000
commitd575248903d0e012c8876c2b2ff4b268d70bedaf (patch)
tree05cc87ba97593baa67299f61017667c28d426b6f /src/mesa
parent1c5a45eafe7dae6db88484540edcdc17c39a0ee6 (diff)
add cast to quiet compiler warning
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/swrast/s_feedback.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/swrast/s_feedback.c b/src/mesa/swrast/s_feedback.c
index 7afb3fa1ad..2ebaaff3c1 100644
--- a/src/mesa/swrast/s_feedback.c
+++ b/src/mesa/swrast/s_feedback.c
@@ -77,7 +77,7 @@ static void feedback_vertex( GLcontext *ctx,
index = v->index;
- _mesa_feedback_vertex( ctx, win, color, index, tc );
+ _mesa_feedback_vertex( ctx, win, color, (GLfloat)index, tc );
}