aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2022-02-15 23:34:00 +0100
committerdec05eba <dec05eba@protonmail.com>2022-02-15 23:34:00 +0100
commit93fe1b614ddc9f00240b5c0041cf5187cb6f949b (patch)
tree1a96c68a62f05f8a606292964f6795e5889baede
parent2743433cc8e56d96fd41fcad6ccce98cadd5ef9e (diff)
Update to latest mgl version, fix after update
m---------depends/mgl0
-rw-r--r--src/window/Window.cpp2
2 files changed, 1 insertions, 1 deletions
diff --git a/depends/mgl b/depends/mgl
-Subproject 08fe64b91e7e43db54628f922f07864a8d8e540
+Subproject 347a6fa2795a6856c1ad3d623673b62f879227c
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);