add missing call to trigger onResize event in the StateManager

This commit is contained in:
Gered 2014-02-16 16:15:40 -05:00
parent fd60e74393
commit 208a118bc0

View file

@ -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) {