From a3cf8790cb4547288c9d395609738c4a1eb838a2 Mon Sep 17 00:00:00 2001 From: Mitya Selivanov Date: Sun, 12 Jan 2025 23:25:53 +0100 Subject: Dynamic resolution --- examples/ui.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'examples/ui.c') diff --git a/examples/ui.c b/examples/ui.c index 684b428..389e2b4 100644 --- a/examples/ui.c +++ b/examples/ui.c @@ -216,9 +216,10 @@ i32 main(i32 argc, c8 **argv) { (void) argv; g_platform = (Platform) { - .title = "UI", - .frame_width = 960, - .frame_height = 720, + .title = "UI", + .frame_width = 960, + .frame_height = 720, + .exact_resolution = 1, }; p_event_loop(); -- cgit v1.2.3