diff options
author | Brian Paul <[email protected]> | 2018-02-05 09:33:58 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2018-02-06 15:36:47 -0700 |
commit | e7a4536e648b37f10a4501f9d295be70b8900269 (patch) | |
tree | e8e1ce0de33703af64a20db84790eaa43a31dd91 /src/mesa/vbo/vbo_exec_array.c | |
parent | d9ab39ea6531028e0558356c8ccf530719fcd2b1 (diff) |
mesa: rename gl_vertex_array_object::_VertexAttrib -> _VertexArray
Since the type is gl_vertex_array. Update comment to explain that
these arrays are only used by the VBO module.
Also rename some local variables in _mesa_update_vao_derived_arrays().
Reviewed-by: Mathias Fröhlich <[email protected]>
Diffstat (limited to 'src/mesa/vbo/vbo_exec_array.c')
-rw-r--r-- | src/mesa/vbo/vbo_exec_array.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/vbo/vbo_exec_array.c b/src/mesa/vbo/vbo_exec_array.c index b30e044a879..9ce0aa38dc2 100644 --- a/src/mesa/vbo/vbo_exec_array.c +++ b/src/mesa/vbo/vbo_exec_array.c @@ -332,7 +332,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_array_object *vao = ctx->Array.VAO; - const struct gl_vertex_array *vertexAttrib = vao->_VertexAttrib; + const struct gl_vertex_array *vertexAttrib = vao->_VertexArray; const struct gl_vertex_array **inputs = &exec->array.inputs[0]; /* May shuffle the position and generic0 bits around */ |