diff options
author | Mitya Selivanov <automainint@guattari.tech> | 2025-01-12 23:25:53 +0100 |
---|---|---|
committer | Mitya Selivanov <automainint@guattari.tech> | 2025-01-12 23:25:53 +0100 |
commit | a3cf8790cb4547288c9d395609738c4a1eb838a2 (patch) | |
tree | dd2a3785479d9ba6e77f14bb89a22d784582642c /examples/ui.c | |
parent | 29d736aecc5db0deb67053931e5b1cf03a9defc3 (diff) | |
download | reduced_system_layer-a3cf8790cb4547288c9d395609738c4a1eb838a2.zip |
Dynamic resolution
Diffstat (limited to 'examples/ui.c')
-rw-r--r-- | examples/ui.c | 7 |
1 files changed, 4 insertions, 3 deletions
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(); |