diff --git a/cogl-mesh.h b/cogl-mesh.h index 0ce3f83e5..e0c8f00c2 100644 --- a/cogl-mesh.h +++ b/cogl-mesh.h @@ -262,6 +262,19 @@ cogl_mesh_draw_range_elements (CoglHandle handle, GLenum type, const GLvoid *indices); +/** + * cogl_mesh_submit: + * @handle: A Cogl mesh handle + * + * This function copies all the user added attributes into a buffer object + * managed by the OpenGL driver. + * + * After the attributes have been submitted, then you may no longer add or + * remove attributes from a mesh, though you can enable or disable them. + */ +void +cogl_mesh_submit (CoglHandle handle); + /** * cogl_mesh_ref: * @handle: a @CoglHandle. diff --git a/common/cogl-mesh.c b/common/cogl-mesh.c index 5727dee9d..281b374c1 100644 --- a/common/cogl-mesh.c +++ b/common/cogl-mesh.c @@ -1094,16 +1094,6 @@ resolve_new_cogl_mesh_vbo (CoglMesh *mesh, } } -/** - * cogl_mesh_submit: - * @handle: A Cogl mesh handle - * - * This function copies all the user added attributes into a buffer object - * managed by the OpenGL driver. - * - * After the attributes have been submitted, then you may no longer add or - * remove attributes from a mesh, though you can enable or disable them. - */ void cogl_mesh_submit (CoglHandle handle) {