Height-only upscaling still never takes effect

This commit is contained in:
jpirnay
2026-05-08 23:51:46 +02:00
parent db4ef52d22
commit b43ba8059b
+1 -1
View File
@@ -1656,7 +1656,7 @@ void GfxRenderer::drawBitmap1Bit(const Bitmap& bitmap, const int x, const int y,
}
if (maxHeight > 0) {
const float s = static_cast<float>(maxHeight) / static_cast<float>(bitmap.getHeight());
if (s < scale) {
if (s < scale || (scale == 1.0f && s != 1.0f)) {
scale = s;
isScaled = (scale != 1.0f);
}