aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2023-12-14 17:58:00 +0100
committerdec05eba <dec05eba@protonmail.com>2023-12-14 17:58:00 +0100
commitb4bd4748c0a4806b0cde7df73e591f324d106502 (patch)
tree12efb9d9621498184ebbf4d77fd56874bfec9e0d
parent3070a4267f1ec136e1e35cc4b78f2995e0da4e90 (diff)
Update mgl
m---------depends/mgl0
-rw-r--r--include/mglpp/window/Window.hpp4
2 files changed, 2 insertions, 2 deletions
diff --git a/depends/mgl b/depends/mgl
-Subproject 10ca6eb57024a7042cc6201c6287e1a3d01c7e2
+Subproject 5490e519cfb52d1cbb63752cee277ae01cd9e3f
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 */