From 9d872973e0c2d0696ad36a13784fc3072a85ed4f Mon Sep 17 00:00:00 2001 From: beeanyew Date: Tue, 11 May 2021 17:37:49 +0200 Subject: [PATCH] Fix stupid automatic screen scaling --- platforms/amiga/rtg/rtg-output-raylib.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/platforms/amiga/rtg/rtg-output-raylib.c b/platforms/amiga/rtg/rtg-output-raylib.c index 04e2fe4..83a2fad 100644 --- a/platforms/amiga/rtg/rtg-output-raylib.c +++ b/platforms/amiga/rtg/rtg-output-raylib.c @@ -167,7 +167,7 @@ reinit_raylib:; origin.x = 0.0f; origin.y = 0.0f; - if (dstscale.height * 2 < GetScreenHeight()) { + if (dstscale.height * 2 <= GetScreenHeight()) { if (width == 320) { if (GetScreenHeight() == 720) { dstscale.width = 960; @@ -177,7 +177,7 @@ reinit_raylib:; dstscale.height = 1080; } } else { - while (dstscale.height < GetScreenHeight()) { + while (dstscale.height + height <= GetScreenHeight()) { dstscale.height += height; dstscale.width += width; } -- 2.39.5