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 --- depends/mgl | 2 +- src/window/Window.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/depends/mgl b/depends/mgl index 08fe64b..347a6fa 160000 --- a/depends/mgl +++ b/depends/mgl @@ -1 +1 @@ -Subproject commit 08fe64b91e7e43db54628f922f07864a8d8e5402 +Subproject commit 347a6fa2795a6856c1ad3d623673b62f879227c1 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