mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-15 19:41:36 +08:00
[libgdx] Expose TwoColorPolygonBatch#setupMatrices().
This commit is contained in:
parent
b62c531487
commit
a814535110
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user