aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/mglpp/window/Window.hpp4
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 */