diff options
author | Brian Paul <brianp@vmware.com> | 2016-10-06 17:30:20 -0600 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2016-10-13 17:38:49 -0600 |
commit | 15fb88e912531110f1a31ede2100910fdda2823e (patch) | |
tree | c33ac86532e98ad20842d4922e5d3e28bbb0ff0e /src/mesa/main/mtypes.h | |
parent | c89802aeeaee35e06c98a41dd630a60e8e7e4123 (diff) | |
download | external_mesa3d-15fb88e912531110f1a31ede2100910fdda2823e.zip external_mesa3d-15fb88e912531110f1a31ede2100910fdda2823e.tar.gz external_mesa3d-15fb88e912531110f1a31ede2100910fdda2823e.tar.bz2 |
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 <mathias.froehlich@web.de>
Diffstat (limited to 'src/mesa/main/mtypes.h')
-rw-r--r-- | src/mesa/main/mtypes.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h index a639fd2..ff20226 100644 --- a/src/mesa/main/mtypes.h +++ b/src/mesa/main/mtypes.h @@ -1351,7 +1351,7 @@ struct gl_client_array /** - * Vertex attribute array as seen by the client. + * Attributes to describe a vertex array. * * Contains the size, type, format and normalization flag, * along with the index of a vertex buffer binding point. @@ -1363,7 +1363,7 @@ struct gl_client_array * and VERTEX_BINDING_STRIDE to the same value, while * glBindVertexBuffer() will only set VERTEX_BINDING_STRIDE. */ -struct gl_vertex_attrib_array +struct gl_array_attributes { GLint Size; /**< Components per element (1,2,3,4) */ GLenum Type; /**< Datatype: GL_FLOAT, GL_INT, etc */ @@ -1441,7 +1441,7 @@ struct gl_vertex_array_object struct gl_client_array _VertexAttrib[VERT_ATTRIB_MAX]; /** Vertex attribute arrays */ - struct gl_vertex_attrib_array VertexAttrib[VERT_ATTRIB_MAX]; + struct gl_array_attributes VertexAttrib[VERT_ATTRIB_MAX]; /** Vertex buffer bindings */ struct gl_vertex_buffer_binding VertexBinding[VERT_ATTRIB_MAX]; |