From 2cd89a00709a1233455773ab3e507167648470fb Mon Sep 17 00:00:00 2001 From: beeanyew Date: Thu, 22 Jul 2021 13:09:19 +0200 Subject: [PATCH] Fix 320 pixel wide screen modes not scaling up when they should --- platforms/amiga/rtg/rtg-output-raylib.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/platforms/amiga/rtg/rtg-output-raylib.c b/platforms/amiga/rtg/rtg-output-raylib.c index e29869b..11da7d7 100644 --- a/platforms/amiga/rtg/rtg-output-raylib.c +++ b/platforms/amiga/rtg/rtg-output-raylib.c @@ -187,11 +187,10 @@ reinit_raylib:; dstscale.width = 1600; dstscale.height = 1200; } - } else { - while (dstscale.height + height <= GetScreenHeight()) { - dstscale.height += height; - dstscale.width += width; - } + } + while (dstscale.height + height <= GetScreenHeight()) { + dstscale.height += height; + dstscale.width += width; } } else if (dstscale.width > GetScreenWidth() || dstscale.height > GetScreenHeight()) { if (dstscale.height > GetScreenHeight()) {