a
This commit is contained in:
@@ -266,9 +266,10 @@ public class VoxyRenderSystem {
|
||||
UploadStream.INSTANCE.tick();
|
||||
|
||||
while (this.renderDistanceTracker.setCenterAndProcess(viewport.cameraX, viewport.cameraZ) && VoxyClient.isFrexActive());//While FF is active, run until everything is processed
|
||||
|
||||
TimingStatistics.I.start();
|
||||
//Done here as is allows less gl state resetup
|
||||
this.modelService.tick(Math.max(3_000_000-(System.nanoTime()-startTime), 500_000));
|
||||
this.modelService.tick(900_000);
|
||||
TimingStatistics.I.stop();
|
||||
}
|
||||
GPUTiming.INSTANCE.marker();
|
||||
TimingStatistics.postDynamic.stop();
|
||||
|
||||
@@ -54,7 +54,7 @@ public class WorldEngine {
|
||||
this.instanceIn = instance;
|
||||
|
||||
int cacheSize = 1024;
|
||||
if (Runtime.getRuntime().maxMemory()>=(1L<<32)-200<<20) {
|
||||
if (Runtime.getRuntime().maxMemory()>=(1L<<32)-(200L<<20)) {
|
||||
cacheSize = 2048;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user