mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-03-26 22:49:01 +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();
|
if (drawing) setupMatrices();
|
||||||
}
|
}
|
||||||
|
|
||||||
private void setupMatrices () {
|
protected void setupMatrices () {
|
||||||
combinedMatrix.set(projectionMatrix).mul(transformMatrix);
|
combinedMatrix.set(projectionMatrix).mul(transformMatrix);
|
||||||
shader.setUniformf("u_pma", premultipliedAlpha ? 1 : 0);
|
shader.setUniformf("u_pma", premultipliedAlpha ? 1 : 0);
|
||||||
shader.setUniformMatrix("u_projTrans", combinedMatrix);
|
shader.setUniformMatrix("u_projTrans", combinedMatrix);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user