From b4bd4748c0a4806b0cde7df73e591f324d106502 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Thu, 14 Dec 2023 17:58:00 +0100 Subject: Update mgl --- depends/mgl | 2 +- include/mglpp/window/Window.hpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/depends/mgl b/depends/mgl index 10ca6eb..5490e51 160000 --- a/depends/mgl +++ b/depends/mgl @@ -1 +1 @@ -Subproject commit 10ca6eb57024a7042cc6201c6287e1a3d01c7e23 +Subproject commit 5490e519cfb52d1cbb63752cee277ae01cd9e3fb 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 */ -- cgit v1.2.3