mesa: use gl_vert_attrib enum type in more places

Slightly better readbility.

Reviewed-by: Gert Wollny <gw.fossdev@gmail.com>
This commit is contained in:
Brian Paul
2018-01-30 11:02:06 -07:00
parent f892e332a8
commit efa0993eaf
3 changed files with 9 additions and 9 deletions

View File

@@ -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];