From a8145351106d6f684d57f6a4c3facc12788371e1 Mon Sep 17 00:00:00 2001 From: Nathan Sweet Date: Wed, 28 Oct 2020 15:58:12 -0700 Subject: [PATCH] [libgdx] Expose TwoColorPolygonBatch#setupMatrices(). --- .../com/esotericsoftware/spine/utils/TwoColorPolygonBatch.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spine-libgdx/spine-libgdx/src/com/esotericsoftware/spine/utils/TwoColorPolygonBatch.java b/spine-libgdx/spine-libgdx/src/com/esotericsoftware/spine/utils/TwoColorPolygonBatch.java index 8f5a005f1..15ab7cfeb 100644 --- a/spine-libgdx/spine-libgdx/src/com/esotericsoftware/spine/utils/TwoColorPolygonBatch.java +++ b/spine-libgdx/spine-libgdx/src/com/esotericsoftware/spine/utils/TwoColorPolygonBatch.java @@ -1390,7 +1390,7 @@ public class TwoColorPolygonBatch implements PolygonBatch { if (drawing) setupMatrices(); } - private void setupMatrices () { + protected void setupMatrices () { combinedMatrix.set(projectionMatrix).mul(transformMatrix); shader.setUniformf("u_pma", premultipliedAlpha ? 1 : 0); shader.setUniformMatrix("u_projTrans", combinedMatrix);