Fix 320 pixel wide screen modes not scaling up when they should

This commit is contained in:
beeanyew
2021-07-22 13:09:19 +02:00
parent ca91c0507f
commit 2cd89a0070

View File

@@ -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()) {