diff options
author | Brian Paul <[email protected]> | 2001-09-14 17:00:42 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2001-09-14 17:00:42 +0000 |
commit | 5ce1f374da35fb8f43874a790d27aab5b35a6969 (patch) | |
tree | 18148574f13eb7e6830e8ef83b8d68a151956640 | |
parent | 675343c517b2595be0423a3af80f4a3c537b1528 (diff) |
silence minor warnings
-rw-r--r-- | src/mesa/tnl/t_array_api.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/mesa/tnl/t_array_api.c b/src/mesa/tnl/t_array_api.c index ac1cffb0a49..e674169c379 100644 --- a/src/mesa/tnl/t_array_api.c +++ b/src/mesa/tnl/t_array_api.c @@ -1,4 +1,4 @@ -/* $Id: t_array_api.c,v 1.18 2001/08/13 22:15:54 keithw Exp $ */ +/* $Id: t_array_api.c,v 1.19 2001/09/14 17:00:42 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -48,10 +48,9 @@ static void fallback_drawarrays( GLcontext *ctx, GLenum mode, GLint start, GLsizei count ) { - if (_tnl_hard_begin( ctx, mode )) - { - GLuint i; - for (i=start;i<count;i++) { + if (_tnl_hard_begin( ctx, mode )) { + GLint i; + for (i = start; i < count; i++) { _tnl_array_element( ctx, i ); } _tnl_end( ctx ); @@ -65,7 +64,7 @@ static void fallback_drawelements( GLcontext *ctx, GLenum mode, GLsizei count, /* Simple version of the above code. */ if (_tnl_hard_begin(ctx, mode)) { - GLuint i; + GLint i; for (i = 0 ; i < count ; i++) _tnl_array_element( ctx, indices[i] ); _tnl_end( ctx ); |