diff options
author | Brian Paul <[email protected]> | 2016-10-06 17:30:20 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2016-10-13 17:38:49 -0600 |
commit | 15fb88e912531110f1a31ede2100910fdda2823e (patch) | |
tree | c33ac86532e98ad20842d4922e5d3e28bbb0ff0e /src/mesa/vbo | |
parent | c89802aeeaee35e06c98a41dd630a60e8e7e4123 (diff) |
mesa: rename gl_vertex_attrib_array gl_array_attributes
The structure contains the attributes of a vertex array. The old name
was kind of confusing.
Reviewed-by: Mathias Fröhlich <[email protected]>
Diffstat (limited to 'src/mesa/vbo')
-rw-r--r-- | src/mesa/vbo/vbo_exec_array.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mesa/vbo/vbo_exec_array.c b/src/mesa/vbo/vbo_exec_array.c index b5ed210f668..1425e0bf2cc 100644 --- a/src/mesa/vbo/vbo_exec_array.c +++ b/src/mesa/vbo/vbo_exec_array.c @@ -51,7 +51,7 @@ static void check_array_data(struct gl_context *ctx, struct gl_vertex_array_object *vao, GLuint attrib, GLuint j) { - const struct gl_vertex_attrib_array *array = &vao->VertexAttrib[attrib]; + const struct gl_array_attributes *array = &vao->VertexAttrib[attrib]; if (array->Enabled) { const struct gl_vertex_buffer_binding *binding = &vao->VertexBinding[array->BufferBindingIndex]; @@ -103,7 +103,7 @@ static void unmap_array_buffer(struct gl_context *ctx, struct gl_vertex_array_object *vao, GLuint attrib) { - const struct gl_vertex_attrib_array *array = &vao->VertexAttrib[attrib]; + const struct gl_array_attributes *array = &vao->VertexAttrib[attrib]; if (array->Enabled) { const struct gl_vertex_buffer_binding *binding = &vao->VertexBinding[array->BufferBindingIndex]; @@ -196,7 +196,7 @@ print_draw_arrays(struct gl_context *ctx, unsigned i; for (i = 0; i < VERT_ATTRIB_MAX; ++i) { - const struct gl_vertex_attrib_array *array = &vao->VertexAttrib[i]; + const struct gl_array_attributes *array = &vao->VertexAttrib[i]; if (!array->Enabled) continue; @@ -245,7 +245,7 @@ recalculate_input_bindings(struct gl_context *ctx) { struct vbo_context *vbo = vbo_context(ctx); struct vbo_exec_context *exec = &vbo->exec; - const struct gl_vertex_attrib_array *array = ctx->Array.VAO->VertexAttrib; + const struct gl_array_attributes *array = ctx->Array.VAO->VertexAttrib; struct gl_client_array *vertexAttrib = ctx->Array.VAO->_VertexAttrib; const struct gl_client_array **inputs = &exec->array.inputs[0]; GLbitfield64 const_inputs = 0x0; |