mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 03:08:02 +00:00
update endtransform
This commit is contained in:
@@ -640,8 +640,8 @@ public class Graphics {
|
|||||||
public void endTransform() {
|
public void endTransform() {
|
||||||
batch.end();
|
batch.end();
|
||||||
batch.getTransformMatrix().set(transforms.get(0)); //get the backup at index 0
|
batch.getTransformMatrix().set(transforms.get(0)); //get the backup at index 0
|
||||||
|
shapeRenderer.setTransformMatrix(transforms.get(0));
|
||||||
transforms.pop();
|
transforms.pop();
|
||||||
shapeRenderer.setTransformMatrix(batch.getTransformMatrix());
|
|
||||||
batch.begin();
|
batch.begin();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user