diff options
author | dec05eba <dec05eba@protonmail.com> | 2023-12-14 17:58:00 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2023-12-14 17:58:00 +0100 |
commit | b4bd4748c0a4806b0cde7df73e591f324d106502 (patch) | |
tree | 12efb9d9621498184ebbf4d77fd56874bfec9e0d /include | |
parent | 3070a4267f1ec136e1e35cc4b78f2995e0da4e90 (diff) |
Update mgl
Diffstat (limited to 'include')
-rw-r--r-- | include/mglpp/window/Window.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/mglpp/window/Window.hpp b/include/mglpp/window/Window.hpp index d13e902..7fa1117 100644 --- a/include/mglpp/window/Window.hpp +++ b/include/mglpp/window/Window.hpp @@ -37,8 +37,8 @@ namespace mgl { public: /* Has to match mgl_window_create_params */ struct CreateParams { - mgl::vec2i position; - mgl::vec2i size; + mgl::vec2i position = {0, 0}; + mgl::vec2i size = {1280, 720}; mgl::vec2i min_size; /* (0, 0) = no limit */ mgl::vec2i max_size; /* (0, 0) = no limit */ WindowHandle parent_window = 0; /* 0 = root window */ |