mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 06:58:05 +02:00
vbo: use GLuint for numInstances to silence MSVC warnings
Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
This commit is contained in:
parent
859c387603
commit
15cb1a9029
2 changed files with 2 additions and 2 deletions
|
|
@ -50,7 +50,7 @@ struct _mesa_prim {
|
|||
GLuint start;
|
||||
GLuint count;
|
||||
GLint basevertex;
|
||||
GLsizei num_instances;
|
||||
GLuint num_instances;
|
||||
GLuint base_instance;
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue