summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLionel Landwerlin <llandwerlin@gmail.com>2013-09-05 11:53:18 +0100
committerRobert Bragg <robert@linux.intel.com>2013-09-23 15:02:31 +0100
commit8dc74800023b63af4be1aa45cd8ff77af5fc7f2e (patch)
treecf331f1f12dc0e3dd1cc9bbd245c50e7e8bed35f
parentde0cb3aba26e483765257e304aee7c2245a27a93 (diff)
downloadcogl-8dc74800023b63af4be1aa45cd8ff77af5fc7f2e.tar.gz
attribute-buffer: add missing annotation
Reviewed-by: Robert Bragg <robert@linux.intel.com>
-rw-r--r--cogl/cogl-attribute-buffer.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/cogl/cogl-attribute-buffer.h b/cogl/cogl-attribute-buffer.h
index 29181c18..caa4c5e7 100644
--- a/cogl/cogl-attribute-buffer.h
+++ b/cogl/cogl-attribute-buffer.h
@@ -81,7 +81,8 @@ cogl_attribute_buffer_new_with_size (CoglContext *context,
* cogl_attribute_buffer_new:
* @context: A #CoglContext
* @bytes: The number of bytes to allocate for vertex attribute data.
- * @data: An optional pointer to vertex data to upload immediately.
+ * @data: (array length=bytes): An optional pointer to vertex data to
+ * upload immediately.
*
* Describes a new #CoglAttributeBuffer of @size bytes to contain
* arrays of vertex attribute data and also uploads @size bytes read