summaryrefslogtreecommitdiffstats
path: root/src/mesa/tnl/t_save_loopback.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2003-11-25 16:39:31 +0000
committerBrian Paul <[email protected]>2003-11-25 16:39:31 +0000
commit8236a534b7c31b5d3b688323de05cfa5e446f70d (patch)
treef2da1c9f02675aeced8c0020bd8a38bdd621f2e7 /src/mesa/tnl/t_save_loopback.c
parent2c9f50dd4acc65ddfeb8e3fde98137711167e579 (diff)
fix assorted g++ warnings
Diffstat (limited to 'src/mesa/tnl/t_save_loopback.c')
-rw-r--r--src/mesa/tnl/t_save_loopback.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/tnl/t_save_loopback.c b/src/mesa/tnl/t_save_loopback.c
index b496a784c35..4e299f6b631 100644
--- a/src/mesa/tnl/t_save_loopback.c
+++ b/src/mesa/tnl/t_save_loopback.c
@@ -189,7 +189,8 @@ static void loopback_prim( GLcontext *ctx,
GLint begin = prim->start;
GLint end = begin + prim->count;
GLfloat *data;
- GLint j, k;
+ GLint j;
+ GLuint k;
if (prim->mode & PRIM_BEGIN) {
glBegin( prim->mode & PRIM_MODE_MASK );