summaryrefslogtreecommitdiff
path: root/examples/ui.c
diff options
context:
space:
mode:
authorMitya Selivanov <automainint@guattari.tech>2025-01-12 23:25:53 +0100
committerMitya Selivanov <automainint@guattari.tech>2025-01-12 23:25:53 +0100
commita3cf8790cb4547288c9d395609738c4a1eb838a2 (patch)
treedd2a3785479d9ba6e77f14bb89a22d784582642c /examples/ui.c
parent29d736aecc5db0deb67053931e5b1cf03a9defc3 (diff)
downloadreduced_system_layer-a3cf8790cb4547288c9d395609738c4a1eb838a2.zip
Dynamic resolution
Diffstat (limited to 'examples/ui.c')
-rw-r--r--examples/ui.c7
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();