aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/main/varray.h
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/varray.h
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/varray.h')
-rw-r--r--src/mesa/main/varray.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/main/varray.h b/src/mesa/main/varray.h
index 79ecd9a0374..fe7eb816319 100644
--- a/src/mesa/main/varray.h
+++ b/src/mesa/main/varray.h
@@ -96,7 +96,7 @@ _mesa_set_drawing_arrays(struct gl_context *ctx,
extern void
_mesa_update_array_format(struct gl_context *ctx,
struct gl_vertex_array_object *vao,
- GLuint attrib, GLint size, GLenum type,
+ gl_vert_attrib attrib, GLint size, GLenum type,
GLenum format, GLboolean normalized,
GLboolean integer, GLboolean doubles,
GLuint relativeOffset);
@@ -104,7 +104,7 @@ _mesa_update_array_format(struct gl_context *ctx,
extern void
_mesa_enable_vertex_array_attrib(struct gl_context *ctx,
struct gl_vertex_array_object *vao,
- unsigned attrib);
+ gl_vert_attrib attrib);
extern void
_mesa_bind_vertex_buffer(struct gl_context *ctx,