summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/src/ch/asynk/rustanddust/screens/GameScreen.java1
-rw-r--r--core/src/ch/asynk/rustanddust/screens/MenuScreen.java1
2 files changed, 2 insertions, 0 deletions
diff --git a/core/src/ch/asynk/rustanddust/screens/GameScreen.java b/core/src/ch/asynk/rustanddust/screens/GameScreen.java
index a4c6bd6..35079e9 100644
--- a/core/src/ch/asynk/rustanddust/screens/GameScreen.java
+++ b/core/src/ch/asynk/rustanddust/screens/GameScreen.java
@@ -231,5 +231,6 @@ public class GameScreen implements Screen
{
RustAndDust.debug("RustAndDust", "resume() ");
paused = false;
+ resize(Gdx.graphics.getWidth(), Gdx.graphics.getHeight());
}
}
diff --git a/core/src/ch/asynk/rustanddust/screens/MenuScreen.java b/core/src/ch/asynk/rustanddust/screens/MenuScreen.java
index 41ed61e..ed757e2 100644
--- a/core/src/ch/asynk/rustanddust/screens/MenuScreen.java
+++ b/core/src/ch/asynk/rustanddust/screens/MenuScreen.java
@@ -274,5 +274,6 @@ public class MenuScreen implements Screen
public void resume()
{
paused = false;
+ resize(Gdx.graphics.getWidth(), Gdx.graphics.getHeight());
}
}