aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2021-11-16 04:49:07 +0100
committerdec05eba <dec05eba@protonmail.com>2021-11-16 04:49:07 +0100
commitdb02fe3f85165b09954d01d44a497abf8155b326 (patch)
treec0c9f38d94486c7ad5e1e43fb43c15b8d248749a /tests
parent8ea04000bfa98798a0283bcf80ea136ea8b4dd42 (diff)
Window: allow setting window minimum/max size and position
Diffstat (limited to 'tests')
-rw-r--r--tests/main.c2
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)