From 9ca0a79e9cc784e14c3d8111ccb9ea1a22225472 Mon Sep 17 00:00:00 2001 From: quou Date: Fri, 27 Sep 2024 16:23:13 +1000 Subject: fix scaling --- plat.c | 1 + 1 file changed, 1 insertion(+) diff --git a/plat.c b/plat.c index e178137..7c5c9f8 100644 --- a/plat.c +++ b/plat.c @@ -421,6 +421,7 @@ void app_end(App* a) { m2 = viewport_h; } while (m2 * s < m1) s++; /* lol */ + s = maxi(1, s - 1); app_rencpy(a, i, 0, 0, s); i->end = get_timer(); a->fps = 1000000000 / (i->end - i->begin); -- cgit v1.2.3-54-g00ecf