docs: clarify cogl_vertex_buffer_adds docs
authorRobert Bragg <robert@linux.intel.com>
Tue, 1 Feb 2011 13:24:13 +0000 (13:24 +0000)
committerRobert Bragg <robert@linux.intel.com>
Wed, 9 Feb 2011 19:12:12 +0000 (19:12 +0000)
This adds a clarification that cogl_vertex_buffer_add can also be
used to replace a previously added attribute with the same name.

clutter/cogl/cogl/cogl-vertex-buffer.h

index c55d032..631ba09 100644 (file)
@@ -129,7 +129,8 @@ cogl_vertex_buffer_get_n_vertices (CoglHandle handle);
  *   must remain valid until you either call cogl_vertex_buffer_submit() or
  *   issue a draw call.
  *
- * Adds an attribute to a buffer.
+ * Adds an attribute to a buffer, or replaces a previously added
+ * attribute with the same name.
  *
  * You either can use one of the built-in names such as "gl_Vertex", or
  * "gl_MultiTexCoord0" to add standard attributes, like positions, colors