diff options
author | Brian Paul <[email protected]> | 2004-05-04 15:11:06 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2004-05-04 15:11:06 +0000 |
commit | bdd15b5749b45929fa642c3e47997f52eb07fbe5 (patch) | |
tree | 103b77f6cd3e845f0816092a7e21a57ec6f98a2c /src/mesa/swrast_setup/ss_triangle.c | |
parent | 33ffbd1c58dc8582f67d946f9eb26127e9851a10 (diff) |
Fix minor warnings found with g++.
Diffstat (limited to 'src/mesa/swrast_setup/ss_triangle.c')
-rw-r--r-- | src/mesa/swrast_setup/ss_triangle.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/swrast_setup/ss_triangle.c b/src/mesa/swrast_setup/ss_triangle.c index 00876fe68dc..1f46331be39 100644 --- a/src/mesa/swrast_setup/ss_triangle.c +++ b/src/mesa/swrast_setup/ss_triangle.c @@ -58,7 +58,7 @@ static void _swsetup_render_line_tri( GLcontext *ctx, SWvertex *v2 = &verts[e2]; GLchan c[2][4]; GLchan s[2][4]; - GLuint i[2]; + GLfloat i[2]; /* cull testing */ if (ctx->Polygon.CullFlag) { @@ -117,7 +117,7 @@ static void _swsetup_render_point_tri( GLcontext *ctx, SWvertex *v2 = &verts[e2]; GLchan c[2][4]; GLchan s[2][4]; - GLuint i[2]; + GLfloat i[2]; /* cull testing */ if (ctx->Polygon.CullFlag) { |