[cogl] attribute: fix argument description



commit 62bc7dd5ec06f151c096b9f58da830ef7d6422b6
Author: Lionel Landwerlin <llandwerlin gmail com>
Date:   Tue Sep 3 14:40:41 2013 +0100

    attribute: fix argument description
    
    Reviewed-by: Robert Bragg <robert linux intel com>
    
    (cherry picked from commit 31246d418f09989fda57c1511c91349fb0840b9c)

 cogl/cogl-attribute.h |   18 +++++++++---------
 1 files changed, 9 insertions(+), 9 deletions(-)
---
diff --git a/cogl/cogl-attribute.h b/cogl/cogl-attribute.h
index d350833..c635e04 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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]