From: Brian Paul Date: Sun, 4 Nov 2012 23:43:44 +0000 (-0700) Subject: vbo: use GLuint for numInstances to silence MSVC warnings X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=15cb1a9029b8c9fb2c587f285b84d610bd9210ae;p=mesa.git vbo: use GLuint for numInstances to silence MSVC warnings Reviewed-by: Jose Fonseca --- diff --git a/src/mesa/vbo/vbo.h b/src/mesa/vbo/vbo.h index e0584973f9e..04930b971da 100644 --- a/src/mesa/vbo/vbo.h +++ b/src/mesa/vbo/vbo.h @@ -50,7 +50,7 @@ struct _mesa_prim { GLuint start; GLuint count; GLint basevertex; - GLsizei num_instances; + GLuint num_instances; GLuint base_instance; }; diff --git a/src/mesa/vbo/vbo_exec_array.c b/src/mesa/vbo/vbo_exec_array.c index d857ac3e52f..4b2c5298d1c 100644 --- a/src/mesa/vbo/vbo_exec_array.c +++ b/src/mesa/vbo/vbo_exec_array.c @@ -779,7 +779,7 @@ vbo_validated_drawrangeelements(struct gl_context *ctx, GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices, - GLint basevertex, GLint numInstances, + GLint basevertex, GLuint numInstances, GLuint baseInstance) { struct vbo_context *vbo = vbo_context(ctx);