summaryrefslogtreecommitdiffstats
path: root/src/mesa/tnl/t_draw.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2010-01-27 17:01:10 -0700
committerBrian Paul <[email protected]>2010-01-27 17:04:30 -0700
commit28bd4a1d81c200d7eff4545de946dd943d853b08 (patch)
treeb83575c8b090614a8580bf31243770073f58de6b /src/mesa/tnl/t_draw.c
parent880411c72aee7c0ec81366bdf6ab8cf25bebb9d5 (diff)
tnl: fix double->float and int/uint conversion warnings
Reported by Karl Schultz.
Diffstat (limited to 'src/mesa/tnl/t_draw.c')
-rw-r--r--src/mesa/tnl/t_draw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/tnl/t_draw.c b/src/mesa/tnl/t_draw.c
index d8c611031d2..adc50485c1d 100644
--- a/src/mesa/tnl/t_draw.c
+++ b/src/mesa/tnl/t_draw.c
@@ -399,7 +399,7 @@ void _tnl_draw_prims( GLcontext *ctx,
TNLcontext *tnl = TNL_CONTEXT(ctx);
const GLuint TEST_SPLIT = 0;
const GLint max = TEST_SPLIT ? 8 : tnl->vb.Size - MAX_CLIPPED_VERTICES;
- GLuint max_basevertex = prim->basevertex;
+ GLint max_basevertex = prim->basevertex;
GLuint i;
if (!_mesa_check_conditional_render(ctx))