diff options
author | makamys <makamys@outlook.com> | 2022-06-04 16:22:37 +0200 |
---|---|---|
committer | makamys <makamys@outlook.com> | 2022-06-04 16:34:56 +0200 |
commit | 1f8f47a57e67ff3cea73b88f7d86a124981e5e5f (patch) | |
tree | cc83fe7f09ec33697210da567ad367eb3a9f845d /src/main/java/makamys/lodmod/renderer | |
parent | a4553bb86b1ed25e035abd9ddd4d7452e3f0a151 (diff) | |
download | Neodymium-1f8f47a57e67ff3cea73b88f7d86a124981e5e5f.tar.gz Neodymium-1f8f47a57e67ff3cea73b88f7d86a124981e5e5f.tar.bz2 Neodymium-1f8f47a57e67ff3cea73b88f7d86a124981e5e5f.zip |
Watch chunk visibility via hooks instead of polling
Increases fps from 340 to 360 when rendering nothing
Diffstat (limited to 'src/main/java/makamys/lodmod/renderer')
-rw-r--r-- | src/main/java/makamys/lodmod/renderer/LODRenderer.java | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/main/java/makamys/lodmod/renderer/LODRenderer.java b/src/main/java/makamys/lodmod/renderer/LODRenderer.java index 942acdb..d13f4e4 100644 --- a/src/main/java/makamys/lodmod/renderer/LODRenderer.java +++ b/src/main/java/makamys/lodmod/renderer/LODRenderer.java @@ -115,12 +115,6 @@ public class LODRenderer { Minecraft.getMinecraft().entityRenderer.enableLightmap((double)alpha); if(hasInited) { - for(WorldRenderer wr : sortedWorldRenderers) { - if(wr != null) { - ((IWorldRenderer)wr).myTick(); - } - } - mainLoop(); if(LODMod.debugEnabled) { handleKeyboard(); |