mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-03-11 06:11:50 +09:00
minimap is working but update is slow
This commit is contained in:
@@ -134,7 +134,7 @@ public class App implements ApplicationListener {
|
||||
public static String renderer = "(a super-fancy virtual photoradiator)";
|
||||
public static String rendererVendor = "(aperture science psychovisualcomputation laboratory)";
|
||||
|
||||
public static int THREAD_COUNT = ThreadExecutor.INSTANCE.getThreadCount();
|
||||
public static int THREAD_COUNT = Runtime.getRuntime().availableProcessors();
|
||||
public static boolean MULTITHREAD;
|
||||
|
||||
public static final boolean is32BitJVM = !System.getProperty("sun.arch.data.model").contains("64");
|
||||
@@ -774,8 +774,6 @@ public class App implements ApplicationListener {
|
||||
//MinimapComposer.INSTANCE.dispose();
|
||||
//FloatDrawer.INSTANCE.dispose();
|
||||
|
||||
ThreadExecutor.INSTANCE.killAll();
|
||||
|
||||
for (Texture texture : ditherPatterns) {
|
||||
texture.dispose();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user