Arc compat

This commit is contained in:
Anuken
2020-04-14 20:29:59 -04:00
parent c717084cb9
commit 51226d6c88
7 changed files with 71 additions and 8 deletions

View File

@@ -119,7 +119,7 @@ public class FloorRenderer implements Disposable{
return;
}
cbatch.setProjection(Core.camera.projection());
cbatch.setProjection(Core.camera.mat);
cbatch.beginDraw();
Gl.enable(Gl.blend);
@@ -185,7 +185,7 @@ public class FloorRenderer implements Disposable{
}
private void cacheChunkLayer(int cx, int cy, Chunk chunk, CacheLayer layer){
SpriteBatch current = Core.batch;
Batch current = Core.batch;
Core.batch = cbatch;
//begin a new cache