aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/main/arrayobj.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2018-01-30 11:02:06 -0700
committerBrian Paul <[email protected]>2018-01-30 11:02:43 -0700
commitefa0993eafcc3b8e61e8331f1c1d377790d7f027 (patch)
tree1737f34ad4e5e09a863021dcd6088510bacf7119 /src/mesa/main/arrayobj.c
parentf892e332a8ea02a99da5b7c4d721bc838b12f33b (diff)
mesa: use gl_vert_attrib enum type in more places
Slightly better readbility. Reviewed-by: Gert Wollny <[email protected]>
Diffstat (limited to 'src/mesa/main/arrayobj.c')
-rw-r--r--src/mesa/main/arrayobj.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/arrayobj.c b/src/mesa/main/arrayobj.c
index b95aeec9d71..7208f4c534f 100644
--- a/src/mesa/main/arrayobj.c
+++ b/src/mesa/main/arrayobj.c
@@ -231,7 +231,7 @@ _mesa_reference_vao_(struct gl_context *ctx,
static void
init_array(struct gl_context *ctx,
struct gl_vertex_array_object *vao,
- GLuint index, GLint size, GLint type)
+ gl_vert_attrib index, GLint size, GLint type)
{
assert(index < ARRAY_SIZE(vao->VertexAttrib));
struct gl_array_attributes *array = &vao->VertexAttrib[index];