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