diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2016-01-27 14:14:03 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2016-01-27 22:26:28 +0100 |
commit | 5a248619bde4c431a82fd8d52715ba532d8cd86c (patch) | |
tree | 3de48a1fcc86673a2ded8853cd5be566d3433217 /core | |
parent | 1cc56859dd26e17966372fbf95e4b0f4f8578b52 (diff) | |
download | RustAndDust-5a248619bde4c431a82fd8d52715ba532d8cd86c.zip RustAndDust-5a248619bde4c431a82fd8d52715ba532d8cd86c.tar.gz |
UnitDock: add a FIXME about using HdpiUtils
Diffstat (limited to 'core')
-rw-r--r-- | core/src/ch/asynk/rustanddust/game/hud/UnitDock.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/src/ch/asynk/rustanddust/game/hud/UnitDock.java b/core/src/ch/asynk/rustanddust/game/hud/UnitDock.java index d63b66c..c5d7df2 100644 --- a/core/src/ch/asynk/rustanddust/game/hud/UnitDock.java +++ b/core/src/ch/asynk/rustanddust/game/hud/UnitDock.java @@ -234,6 +234,7 @@ public class UnitDock extends Bg implements Animation batch.setTransformMatrix(transform); // batch.flush(); + // FIXME please use HdpiUtils instead release 1.8 https://libgdx.badlogicgames.com/news.html Gdx.gl.glEnable(GL20.GL_SCISSOR_TEST); Gdx.gl.glScissor((int)scissors.x, (int)scissors.y, (int)scissors.width, (int)scissors.height); |