mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-08-20 09:57:10 +00:00
Merge branch 'tu19-take-2' of https://github.com/4jcraft/4jcraft into tu19-take-2
This commit is contained in:
commit
69530dcccf
|
|
@ -2366,8 +2366,10 @@ void Minecraft::resize(int width, int height) {
|
||||||
ScreenSizeCalculator ssc(options, this->width, height);
|
ScreenSizeCalculator ssc(options, this->width, height);
|
||||||
int screenWidth = ssc.getWidth();
|
int screenWidth = ssc.getWidth();
|
||||||
int screenHeight = ssc.getHeight();
|
int screenHeight = ssc.getHeight();
|
||||||
// screen->init(this, screenWidth, screenHeight); // 4J -
|
screen->init(
|
||||||
// TODO - put back in
|
this, screenWidth,
|
||||||
|
screenHeight); // 4jcraft: uncommented to immediately scale on
|
||||||
|
// resize now that we have correct ssc usage
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue