diff options
Diffstat (limited to 'core/src')
-rw-r--r-- | core/src/ch/asynk/gdx/tabletop/Camera.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/src/ch/asynk/gdx/tabletop/Camera.java b/core/src/ch/asynk/gdx/tabletop/Camera.java index 4f51375..bcee9e1 100644 --- a/core/src/ch/asynk/gdx/tabletop/Camera.java +++ b/core/src/ch/asynk/gdx/tabletop/Camera.java @@ -114,7 +114,7 @@ public class Camera extends OrthographicCamera Matrix4.inv(hudInvProjMatrix.val); } - public void applyMapViewport() + public void applyBoardViewport() { HdpiUtils.glViewport((int)viewport.x, (int)viewport.y, (int)viewport.width, (int)viewport.height); } @@ -124,7 +124,7 @@ public class Camera extends OrthographicCamera if (hudInBoard) HdpiUtils.glViewport(0, 0, screenWidth, screenHeight); else - applyMapViewport(); + applyBoardViewport(); } public void centerOnWorld() |