summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/varray.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2016-10-06 17:30:20 -0600
committerBrian Paul <[email protected]>2016-10-13 17:38:49 -0600
commit15fb88e912531110f1a31ede2100910fdda2823e (patch)
treec33ac86532e98ad20842d4922e5d3e28bbb0ff0e /src/mesa/main/varray.h
parentc89802aeeaee35e06c98a41dd630a60e8e7e4123 (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/main/varray.h')
-rw-r--r--src/mesa/main/varray.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mesa/main/varray.h b/src/mesa/main/varray.h
index 54229ffcd8c..bc1c0c6f720 100644
--- a/src/mesa/main/varray.h
+++ b/src/mesa/main/varray.h
@@ -40,7 +40,7 @@ struct gl_context;
* a vertex buffer.
*/
static inline const GLubyte *
-_mesa_vertex_attrib_address(const struct gl_vertex_attrib_array *array,
+_mesa_vertex_attrib_address(const struct gl_array_attributes *array,
const struct gl_vertex_buffer_binding *binding)
{
if (_mesa_is_bufferobj(binding->BufferObj))
@@ -56,7 +56,7 @@ _mesa_vertex_attrib_address(const struct gl_vertex_attrib_array *array,
static inline void
_mesa_update_client_array(struct gl_context *ctx,
struct gl_client_array *dst,
- const struct gl_vertex_attrib_array *src,
+ const struct gl_array_attributes *src,
const struct gl_vertex_buffer_binding *binding)
{
dst->Size = src->Size;
@@ -378,8 +378,8 @@ _mesa_copy_client_array(struct gl_context *ctx,
extern void
_mesa_copy_vertex_attrib_array(struct gl_context *ctx,
- struct gl_vertex_attrib_array *dst,
- const struct gl_vertex_attrib_array *src);
+ struct gl_array_attributes *dst,
+ const struct gl_array_attributes *src);
extern void
_mesa_copy_vertex_buffer_binding(struct gl_context *ctx,