summaryrefslogtreecommitdiff
path: root/cogl/cogl-attribute.h
diff options
context:
space:
mode:
authorLionel Landwerlin <llandwerlin@gmail.com>2013-09-03 14:40:41 +0100
committerRobert Bragg <robert@linux.intel.com>2013-09-06 18:42:10 +0100
commit31246d418f09989fda57c1511c91349fb0840b9c (patch)
treedfab7222125f95969dfc737bf03d38654070a0cc /cogl/cogl-attribute.h
parent4e11b784f07eeeb5a5c576915315637a2f09ae34 (diff)
downloadcogl-31246d418f09989fda57c1511c91349fb0840b9c.tar.gz
attribute: fix argument description
Reviewed-by: Robert Bragg <robert@linux.intel.com>
Diffstat (limited to 'cogl/cogl-attribute.h')
-rw-r--r--cogl/cogl-attribute.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/cogl/cogl-attribute.h b/cogl/cogl-attribute.h
index d350833a..c635e04e 100644
--- a/cogl/cogl-attribute.h
+++ b/cogl/cogl-attribute.h
@@ -175,8 +175,8 @@ cogl_attribute_new_const_1f (CoglContext *context,
* cogl_attribute_new_const_2f:
* @context: A #CoglContext
* @name: The name of the attribute (used to reference it from GLSL)
- * @constant0: The first component of a 2 component vector
- * @constant1: The second component of a 2 component vector
+ * @component0: The first component of a 2 component vector
+ * @component1: The second component of a 2 component vector
*
* Creates a new, 2 component, attribute whose value remains
* constant across all the vertices of a primitive without needing to
@@ -203,9 +203,9 @@ cogl_attribute_new_const_2f (CoglContext *context,
* cogl_attribute_new_const_3f:
* @context: A #CoglContext
* @name: The name of the attribute (used to reference it from GLSL)
- * @constant0: The first component of a 3 component vector
- * @constant1: The second component of a 3 component vector
- * @constant2: The third component of a 3 component vector
+ * @component0: The first component of a 3 component vector
+ * @component1: The second component of a 3 component vector
+ * @component2: The third component of a 3 component vector
*
* Creates a new, 3 component, attribute whose value remains
* constant across all the vertices of a primitive without needing to
@@ -236,10 +236,10 @@ cogl_attribute_new_const_3f (CoglContext *context,
* cogl_attribute_new_const_4f:
* @context: A #CoglContext
* @name: The name of the attribute (used to reference it from GLSL)
- * @constant0: The first component of a 4 component vector
- * @constant1: The second component of a 4 component vector
- * @constant2: The third component of a 4 component vector
- * @constant3: The fourth component of a 4 component vector
+ * @component0: The first component of a 4 component vector
+ * @component1: The second component of a 4 component vector
+ * @component2: The third component of a 4 component vector
+ * @component3: The fourth component of a 4 component vector
*
* Creates a new, 4 component, attribute whose value remains
* constant across all the vertices of a primitive without needing to