From 93fe1b614ddc9f00240b5c0041cf5187cb6f949b Mon Sep 17 00:00:00 2001 From: dec05eba Date: Tue, 15 Feb 2022 23:34:00 +0100 Subject: Update to latest mgl version, fix after update --- src/window/Window.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/window/Window.cpp b/src/window/Window.cpp index d19d3c8..c41a0c6 100644 --- a/src/window/Window.cpp +++ b/src/window/Window.cpp @@ -53,7 +53,7 @@ namespace mgl { Shader::use(shader); mgl_context *context = mgl_get_context(); - mgl_vertices_draw(context, (const mgl_vertex*)vertices, vertex_count, (mgl_primitive_type)primitive_type); + mgl_vertices_draw(context, (const mgl_vertex*)vertices, vertex_count, (mgl_primitive_type)primitive_type, { 0.0f, 0.0f }); if(shader) Shader::use(nullptr); -- cgit v1.2.3