mesa: s/gl_vertex_attrib_array/gl_array_attributes/ in comments
authorBrian Paul <brianp@vmware.com>
Thu, 25 Jan 2018 16:12:59 +0000 (09:12 -0700)
committerBrian Paul <brianp@vmware.com>
Thu, 25 Jan 2018 19:17:26 +0000 (12:17 -0700)
The structure type was renamed some time ago, but some comments
were not updated.

Reviewed-by: Charmaine Lee <charmainel@vmware.com>
src/mesa/main/arrayobj.c
src/mesa/main/mtypes.h
src/mesa/main/varray.h

index d9a65ba..0f47424 100644 (file)
@@ -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
index 4ee6ee3..e587f63 100644 (file)
@@ -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];
index 927a1ad..9565538 100644 (file)
@@ -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,