summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2018-01-25 09:12:59 -0700
committerBrian Paul <[email protected]>2018-01-25 12:17:26 -0700
commite4504be6fc3d18273b6dd739a621b2c5b4385758 (patch)
tree182548b0ac63bd48720aa4feff9d91c24da5069d
parent6c724fb7c14de3088b51748a781983e76c5d8ee1 (diff)
mesa: s/gl_vertex_attrib_array/gl_array_attributes/ in comments
The structure type was renamed some time ago, but some comments were not updated. Reviewed-by: Charmaine Lee <[email protected]>
-rw-r--r--src/mesa/main/arrayobj.c2
-rw-r--r--src/mesa/main/mtypes.h2
-rw-r--r--src/mesa/main/varray.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/main/arrayobj.c b/src/mesa/main/arrayobj.c
index d9a65ba4105..0f474243a78 100644
--- a/src/mesa/main/arrayobj.c
+++ b/src/mesa/main/arrayobj.c
@@ -307,7 +307,7 @@ _mesa_initialize_vao(struct gl_context *ctx,
/**
- * Updates the derived gl_vertex_arrays when a gl_vertex_attrib_array
+ * Updates the derived gl_vertex_arrays when a gl_array_attributes
* or a gl_vertex_buffer_binding has changed.
*/
void
diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h
index 4ee6ee39060..e587f63df2f 100644
--- a/src/mesa/main/mtypes.h
+++ b/src/mesa/main/mtypes.h
@@ -1541,7 +1541,7 @@ struct gl_vertex_array_object
/**
* Derived vertex attribute arrays
*
- * This is a legacy data structure created from gl_vertex_attrib_array and
+ * This is a legacy data structure created from gl_array_attributes and
* gl_vertex_buffer_binding, for compatibility with existing driver code.
*/
struct gl_vertex_array _VertexAttrib[VERT_ATTRIB_MAX];
diff --git a/src/mesa/main/varray.h b/src/mesa/main/varray.h
index 927a1ada38a..956553871e3 100644
--- a/src/mesa/main/varray.h
+++ b/src/mesa/main/varray.h
@@ -51,7 +51,7 @@ _mesa_vertex_attrib_address(const struct gl_array_attributes *array,
/**
* Sets the fields in a gl_vertex_array to values derived from a
- * gl_vertex_attrib_array and a gl_vertex_buffer_binding.
+ * gl_array_attributes and a gl_vertex_buffer_binding.
*/
static inline void
_mesa_update_client_array(struct gl_context *ctx,