From 5a248619bde4c431a82fd8d52715ba532d8cd86c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Wed, 27 Jan 2016 14:14:03 +0100 Subject: UnitDock: add a FIXME about using HdpiUtils --- core/src/ch/asynk/rustanddust/game/hud/UnitDock.java | 1 + 1 file changed, 1 insertion(+) 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); -- cgit v1.1-2-g2b99