diff options
author | dec05eba <dec05eba@protonmail.com> | 2021-11-16 04:49:07 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2021-11-16 04:49:07 +0100 |
commit | db02fe3f85165b09954d01d44a497abf8155b326 (patch) | |
tree | c0c9f38d94486c7ad5e1e43fb43c15b8d248749a /tests | |
parent | 8ea04000bfa98798a0283bcf80ea136ea8b4dd42 (diff) |
Window: allow setting window minimum/max size and position
Diffstat (limited to 'tests')
-rw-r--r-- | tests/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/main.c b/tests/main.c index f76f384..51487dc 100644 --- a/tests/main.c +++ b/tests/main.c @@ -214,7 +214,7 @@ int main(int argc, char **argv) { mgl_clock_init(&userdata.clock); mgl_window window; - if(mgl_window_create(&window, "mgl", 1280, 720) != 0) + if(mgl_window_create(&window, "mgl", &(mgl_window_create_params){ .size = {1280, 720}, .min_size = { 1000, 1000 } }) != 0) return 1; if(mgl_texture_init(&texture) != 0) |