[doc] Fix two small typos in cogl-vertex-buffer
authorNeil Roberts <neil@linux.intel.com>
Wed, 25 Mar 2009 14:53:58 +0000 (14:53 +0000)
committerNeil Roberts <neil@linux.intel.com>
Wed, 25 Mar 2009 14:53:58 +0000 (14:53 +0000)
The symbol name for cogl_vertex_buffer_draw_elements was wrong so it
ended up with no documentation. The name for the vertex attribute was
incorrect in cogl_vertex_buffer_add.

clutter/cogl/cogl-vertex-buffer.h

index b5ce613..35016da 100644 (file)
@@ -127,7 +127,7 @@ cogl_vertex_buffer_get_n_vertices (CoglHandle handle);
  *          cogl_vertex_buffer_submit() or issue a draw call.)
  *
  * This function lets you add an attribute to a buffer. You either use one
- * of the built-in names such as "gl_Vertex", or "glMultiTexCoord0" to add
+ * of the built-in names such as "gl_Vertex", or "gl_MultiTexCoord0" to add
  * standard attributes, like positions, colors and normals or you can add
  * custom attributes for use in shaders.
  *
@@ -256,7 +256,7 @@ cogl_vertex_buffer_draw (CoglHandle handle,
                         GLsizei    count);
 
 /**
- * cogl_vertex_buffer_draw_range_elements:
+ * cogl_vertex_buffer_draw_elements:
  * @handle: A vertex buffer handle
  * @mode: Specifies how the vertices should be interpreted, and should be
  *        a valid GL primitive type: