diff options
author | dec05eba <dec05eba@protonmail.com> | 2024-09-14 03:24:22 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2024-09-14 03:24:22 +0200 |
commit | 1a2a6ad8ef354f62bdf9adcfef73af1e5d03695d (patch) | |
tree | 833f21eda9d81facfea067e796945d82065e0248 /include | |
parent | 23b75905a53abb2e4d5a44b16e0496e7fa4c7e3d (diff) |
Diffstat (limited to 'include')
-rw-r--r-- | include/mglpp/window/Window.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mglpp/window/Window.hpp b/include/mglpp/window/Window.hpp index d355db7..009c9a5 100644 --- a/include/mglpp/window/Window.hpp +++ b/include/mglpp/window/Window.hpp @@ -66,7 +66,7 @@ namespace mgl { void clear(Color color = Color(0, 0, 0, 255)); void draw(Drawable &drawable, Shader *shader = nullptr); - void draw(const Vertex *vertices, size_t vertex_count, PrimitiveType primitive_type, mgl::vec2f position, Shader *shader = nullptr); + void draw(const Vertex *vertices, size_t vertex_count, PrimitiveType primitive_type, mgl::vec2f position = {0, 0}, Shader *shader = nullptr); void display(); void set_visible(bool visible); |