diff options
Diffstat (limited to 'test/src/ch/asynk/gdx')
-rw-r--r-- | test/src/ch/asynk/gdx/board/test/GameScreen.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/src/ch/asynk/gdx/board/test/GameScreen.java b/test/src/ch/asynk/gdx/board/test/GameScreen.java index 621c7d1..63f9394 100644 --- a/test/src/ch/asynk/gdx/board/test/GameScreen.java +++ b/test/src/ch/asynk/gdx/board/test/GameScreen.java @@ -21,7 +21,7 @@ public class GameScreen implements Screen private static final float ZOOM_SCROLL_FACTOR = .1f; private static final float ZOOM_GESTURE_FACTOR = .01f; - private static final boolean DEBUG = false; + private static final boolean DEBUG = true; private final GdxBoardTest app; private final GameHud hud; @@ -108,7 +108,7 @@ public class GameScreen implements Screen hud.draw(batch); batch.end(); - if (DEBUG) { + if (DEBUG && this.state == State.UI) { Gdx.gl.glEnable(GL20.GL_BLEND); debugShapes.setAutoShapeType(true); debugShapes.setProjectionMatrix(camera.getHudMatrix()); |