Merge branch 'tu19-take-2' of https://github.com/4jcraft/4jcraft into tu19-take-2

This commit is contained in:
Tropical 2026-03-24 15:27:58 -05:00
commit 69530dcccf

View file

@ -2366,8 +2366,10 @@ void Minecraft::resize(int width, int height) {
ScreenSizeCalculator ssc(options, this->width, height);
int screenWidth = ssc.getWidth();
int screenHeight = ssc.getHeight();
// screen->init(this, screenWidth, screenHeight); // 4J -
// TODO - put back in
screen->init(
this, screenWidth,
screenHeight); // 4jcraft: uncommented to immediately scale on
// resize now that we have correct ssc usage
}
}