From db02fe3f85165b09954d01d44a497abf8155b326 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Tue, 16 Nov 2021 04:49:07 +0100 Subject: Window: allow setting window minimum/max size and position --- tests/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') 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) -- cgit v1.2.3