add cast to quiet compiler warning
authorKarl Schultz <kschultz@freedesktop.org>
Tue, 13 Jan 2004 01:08:23 +0000 (01:08 +0000)
committerKarl Schultz <kschultz@freedesktop.org>
Tue, 13 Jan 2004 01:08:23 +0000 (01:08 +0000)
src/mesa/swrast/s_feedback.c

index 7afb3fa1ad171d0f2a1022ebae752b492f0fcc67..2ebaaff3c19397097d7d58eb8f3d6c9def9a5e94 100644 (file)
@@ -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 );
 }