summaryrefslogtreecommitdiffstats
path: root/src/mesa/swrast/s_feedback.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2004-05-04 15:11:06 +0000
committerBrian Paul <[email protected]>2004-05-04 15:11:06 +0000
commitbdd15b5749b45929fa642c3e47997f52eb07fbe5 (patch)
tree103b77f6cd3e845f0816092a7e21a57ec6f98a2c /src/mesa/swrast/s_feedback.c
parent33ffbd1c58dc8582f67d946f9eb26127e9851a10 (diff)
Fix minor warnings found with g++.
Diffstat (limited to 'src/mesa/swrast/s_feedback.c')
-rw-r--r--src/mesa/swrast/s_feedback.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/mesa/swrast/s_feedback.c b/src/mesa/swrast/s_feedback.c
index 2ebaaff3c19..892c40db6a2 100644
--- a/src/mesa/swrast/s_feedback.c
+++ b/src/mesa/swrast/s_feedback.c
@@ -51,7 +51,6 @@ static void feedback_vertex( GLcontext *ctx,
GLfloat win[4];
GLfloat color[4];
GLfloat tc[4];
- GLuint index;
win[0] = v->win[0];
win[1] = v->win[1];
@@ -75,9 +74,7 @@ static void feedback_vertex( GLcontext *ctx,
COPY_4V(tc, v->texcoord[texUnit]);
}
- index = v->index;
-
- _mesa_feedback_vertex( ctx, win, color, (GLfloat)index, tc );
+ _mesa_feedback_vertex( ctx, win, color, (GLfloat) v->index, tc );
}