diff options
author | Brian Paul <[email protected]> | 2012-11-04 16:43:44 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2012-11-06 07:42:37 -0700 |
commit | 15cb1a9029b8c9fb2c587f285b84d610bd9210ae (patch) | |
tree | 3894dc4772f6d9355bfda0d46e7e58611bb23631 /src | |
parent | 859c387603e24848d309dac829af6e675b1ee6d9 (diff) |
vbo: use GLuint for numInstances to silence MSVC warnings
Reviewed-by: Jose Fonseca <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/vbo/vbo.h | 2 | ||||
-rw-r--r-- | src/mesa/vbo/vbo_exec_array.c | 2 |
2 files changed, 2 insertions, 2 deletions
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); |