diff --git a/cogl-vertex-buffer.h b/cogl-vertex-buffer.h index 4e0006701..b5ce6139f 100644 --- a/cogl-vertex-buffer.h +++ b/cogl-vertex-buffer.h @@ -289,13 +289,13 @@ cogl_vertex_buffer_draw (CoglHandle handle, * drawing. */ void -cogl_vertex_buffer_draw_range_elements (CoglHandle handle, - GLenum mode, - GLuint min_index, - GLuint max_index, - GLsizei count, - GLenum indices_type, - const GLvoid *indices); +cogl_vertex_buffer_draw_elements (CoglHandle handle, + GLenum mode, + GLuint min_index, + GLuint max_index, + GLsizei count, + GLenum indices_type, + const GLvoid *indices); /** * cogl_vertex_buffer_ref: diff --git a/doc/reference/cogl/cogl-sections.txt b/doc/reference/cogl/cogl-sections.txt index aeefa146f..f99461c43 100644 --- a/doc/reference/cogl/cogl-sections.txt +++ b/doc/reference/cogl/cogl-sections.txt @@ -307,7 +307,7 @@ cogl_vertex_buffer_submit cogl_vertex_buffer_disable cogl_vertex_buffer_enable cogl_vertex_buffer_draw -cogl_vertex_buffer_draw_range_elements +cogl_vertex_buffer_draw_elements CoglVertexBufferAttribFlags COGL_VERTEX_BUFFER_ATTRIB_FLAG_GL_TYPE_MASK