aboutsummaryrefslogtreecommitdiff
path: root/src/window
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 /src/window
parent2743433cc8e56d96fd41fcad6ccce98cadd5ef9e (diff)
Update to latest mgl version, fix after update
Diffstat (limited to 'src/window')
-rw-r--r--src/window/Window.cpp2
1 files changed, 1 insertions, 1 deletions
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);