diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2018-10-03 16:08:36 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2018-10-03 16:08:36 +0200 |
commit | d292f18161846fc14342063586c361f4953428ad (patch) | |
tree | 9b2dfcb8d11a032b11b64868669017aecca02ee4 /test | |
parent | 9c4b2d671114f1fc231120c0c4df37ffe72d354b (diff) | |
download | gdx-boardgame-d292f18161846fc14342063586c361f4953428ad.zip gdx-boardgame-d292f18161846fc14342063586c361f4953428ad.tar.gz |
BoardScreen : be sure to reset glViewport when exiting
Diffstat (limited to 'test')
-rw-r--r-- | test/src/ch/asynk/gdx/tabletop/test/BoardScreen.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/src/ch/asynk/gdx/tabletop/test/BoardScreen.java b/test/src/ch/asynk/gdx/tabletop/test/BoardScreen.java index d452ba4..2e93dd0 100644 --- a/test/src/ch/asynk/gdx/tabletop/test/BoardScreen.java +++ b/test/src/ch/asynk/gdx/tabletop/test/BoardScreen.java @@ -228,6 +228,7 @@ public class BoardScreen extends AbstractScreen case TRI_H: board.setTRI_H(); break; case TRI_V: board.setTRI_V(); break; case DONE: + cam.applyScreenViewport(); this.app.switchToMenu(); return; } |