mirror of
https://github.com/brl/mutter.git
synced 2024-11-12 17:27:03 -05:00
[doc] Fix two small typos in cogl-vertex-buffer
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.
This commit is contained in:
parent
935db8eec2
commit
f8ca841a8b
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user