mirror of
https://github.com/captain-amygdala/pistorm.git
synced 2026-02-11 10:34:45 +00:00
Fix 320 pixel wide screen modes not scaling up when they should
This commit is contained in:
@@ -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()) {
|
||||
|
||||
Reference in New Issue
Block a user