diff options
author | Robert Bragg <robert@linux.intel.com> | 2011-02-01 13:24:13 +0000 |
---|---|---|
committer | Robert Bragg <robert@linux.intel.com> | 2011-02-09 19:12:12 +0000 |
commit | df07edf83e0072c05a50cc93ae99432163355cec (patch) | |
tree | 06b9ca85e7a854cd5c083f6acc95e282faf675c2 /cogl/cogl-vertex-buffer.h | |
parent | b351aa4af4fabea79518fdc28b7a38637126a8c2 (diff) | |
download | cogl-df07edf83e0072c05a50cc93ae99432163355cec.tar.gz |
docs: clarify cogl_vertex_buffer_adds docs
This adds a clarification that cogl_vertex_buffer_add can also be
used to replace a previously added attribute with the same name.
Diffstat (limited to 'cogl/cogl-vertex-buffer.h')
-rw-r--r-- | cogl/cogl-vertex-buffer.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cogl/cogl-vertex-buffer.h b/cogl/cogl-vertex-buffer.h index c55d0324..631ba099 100644 --- a/cogl/cogl-vertex-buffer.h +++ b/cogl/cogl-vertex-buffer.h @@ -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 |