aboutsummaryrefslogtreecommitdiff
path: root/include/mgl/graphics/vertex_buffer.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/mgl/graphics/vertex_buffer.h')
-rw-r--r--include/mgl/graphics/vertex_buffer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mgl/graphics/vertex_buffer.h b/include/mgl/graphics/vertex_buffer.h
index 5cdadfa..0dfd0d6 100644
--- a/include/mgl/graphics/vertex_buffer.h
+++ b/include/mgl/graphics/vertex_buffer.h
@@ -27,6 +27,6 @@ void mgl_vertex_buffer_deinit(mgl_vertex_buffer *self);
void mgl_vertex_buffer_set_position(mgl_vertex_buffer *self, mgl_vec2f position);
int mgl_vertex_buffer_update(mgl_vertex_buffer *self, const mgl_vertex *vertices, size_t vertex_count);
/* |texture| can be NULL to not use any texture */
-void mgl_vertex_buffer_draw(mgl_context *context, mgl_vertex_buffer *self, const mgl_texture *texture);
+void mgl_vertex_buffer_draw(mgl_context *context, mgl_vertex_buffer *vertex_buffer, const mgl_texture *texture);
#endif /* MGL_VERTEX_BUFFER_H */