This commit is contained in:
Anuken 2024-10-04 14:55:46 -04:00
parent 5ba2e9cd1e
commit aab27d1b56
2 changed files with 8 additions and 3 deletions

View File

@ -116,8 +116,7 @@ public class MultiPacker implements Disposable{
//main page can be massive, but 8192 throws GL_OUT_OF_MEMORY on some GPUs and I can't deal with it yet.
main(4096),
//TODO stuff like this throws OOM on some devices
environment(4096, 2048),
environment(4096),
ui(4096),
rubble(4096, 2048),
editor(4096, 2048);

View File

@ -50,7 +50,13 @@ public class StaticWall extends Prop{
@Override
public void load(){
super.load();
split = large.split(32, 32);
int size = large.width / 2;
split = large.split(size, size);
for(var arr : split){
for(var reg : arr){
reg.scale = region.scale;
}
}
}
@Override