aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/makamys/lodmod/renderer
diff options
context:
space:
mode:
authormakamys <makamys@outlook.com>2022-06-04 16:22:37 +0200
committermakamys <makamys@outlook.com>2022-06-04 16:34:56 +0200
commit1f8f47a57e67ff3cea73b88f7d86a124981e5e5f (patch)
treecc83fe7f09ec33697210da567ad367eb3a9f845d /src/main/java/makamys/lodmod/renderer
parenta4553bb86b1ed25e035abd9ddd4d7452e3f0a151 (diff)
downloadNeodymium-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.java6
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();