This commit is contained in:
Anuken
2026-08-19 10:40:11 +02:00
parent 0d8eaa1a1f
commit d827f2e218
+1 -2
View File
@@ -220,13 +220,12 @@ public class DataImagePacker{
}
}
public void printStats(PixmapPacker packer){
/** Queues a texture for removal. Will run after any pending {@link #addTexture} calls so that races do not occur. */
public void removeTextureQueued(String name){
textureExecutor.execute(() -> Core.app.post(() -> removeTexture(name)));
}
public void printStats(PixmapPacker mainPacker, PixmapPacker envPacker){
public void printStats(PixmapPacker packer){
if(Log.level != LogLevel.debug) return;
int total = packer.getPages().sum(p -> p.rects.size);