aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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 */