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/julia_set.c | 7 ++++--- examples/ui.c | 7 ++++--- 2 files changed, 8 insertions(+), 6 deletions(-) (limited to 'examples') diff --git a/examples/julia_set.c b/examples/julia_set.c index 26e7a7a..90e4b45 100644 --- a/examples/julia_set.c +++ b/examples/julia_set.c @@ -82,9 +82,10 @@ i32 main(i32 argc, c8 **argv) { (void) argv; g_platform = (Platform) { - .title = "Julia Set", - .frame_width = 960, - .frame_height = 720, + .title = "Julia Set", + .frame_width = 960, + .frame_height = 720, + .exact_resolution = 1, }; time_0 = p_time(); 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