add missing call to trigger onResize event in the StateManager
This commit is contained in:
parent
fd60e74393
commit
208a118bc0
|
@ -58,6 +58,7 @@ public abstract class GameApp implements Disposable {
|
||||||
public void onResize(int width, int height) {
|
public void onResize(int width, int height) {
|
||||||
Gdx.app.debug("GameApp", String.format("onResize(%d, %d)", width, height));
|
Gdx.app.debug("GameApp", String.format("onResize(%d, %d)", width, height));
|
||||||
viewportContext.onResize(width, height);
|
viewportContext.onResize(width, height);
|
||||||
|
stateManager.onResize();
|
||||||
}
|
}
|
||||||
|
|
||||||
public void onRender(float interpolation) {
|
public void onRender(float interpolation) {
|
||||||
|
|
Loading…
Reference in a new issue