From 71d65b629bb8f0a36b24753d6205663daa5acb09 Mon Sep 17 00:00:00 2001 From: Robert Bragg Date: Mon, 9 Mar 2009 10:26:31 +0000 Subject: [PATCH] [cogl-vertex-buffer] fix cogl_vertex_buffer_draw_elements prototype This function was renamed a while ago in the .c file from cogl_vertex_buffer_draw_range_elements but the corresponding .h and doc/reference/cogl changes weren't made. --- clutter/cogl/cogl-vertex-buffer.h | 14 +++++++------- doc/reference/cogl/cogl-sections.txt | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/clutter/cogl/cogl-vertex-buffer.h b/clutter/cogl/cogl-vertex-buffer.h index 4e0006701..b5ce6139f 100644 --- a/clutter/cogl/cogl-vertex-buffer.h +++ b/clutter/cogl/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