summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/ch/asynk')
-rw-r--r--core/src/ch/asynk/tankontank/screens/GameCamera.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/ch/asynk/tankontank/screens/GameCamera.java b/core/src/ch/asynk/tankontank/screens/GameCamera.java
index 85e2233..5393177 100644
--- a/core/src/ch/asynk/tankontank/screens/GameCamera.java
+++ b/core/src/ch/asynk/tankontank/screens/GameCamera.java
@@ -102,7 +102,7 @@ public class GameCamera extends OrthographicCamera
// TODO adapt screen -> glViewport
zoom += dz;
clampZoom();
- update(true);
+ updateViewport(screenWidth, screenHeight);
}
public void translate(float dx, float dy)