mirror of
https://github.com/Anuken/Mindustry.git
synced 2024-12-22 23:34:00 +07:00
Fixed #10187
This commit is contained in:
parent
5ba2e9cd1e
commit
aab27d1b56
@ -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);
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user