aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/makamys/neodymium/renderer
diff options
context:
space:
mode:
authormakamys <makamys@outlook.com>2024-01-20 13:49:13 +0100
committermakamys <makamys@outlook.com>2024-01-20 13:49:13 +0100
commit3a842c2a02a69530a9886048281cfeaf1b513320 (patch)
tree41310ee70536b51d45f7c974e1bf248d7043ff7c /src/main/java/makamys/neodymium/renderer
parent7da5fb9ed13688800e3ffd52f1dddeaba6d997cf (diff)
downloadNeodymium-3a842c2a02a69530a9886048281cfeaf1b513320.tar.gz
Neodymium-3a842c2a02a69530a9886048281cfeaf1b513320.tar.bz2
Neodymium-3a842c2a02a69530a9886048281cfeaf1b513320.zip
Fix #44
Diffstat (limited to 'src/main/java/makamys/neodymium/renderer')
-rw-r--r--src/main/java/makamys/neodymium/renderer/NeoRenderer.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main/java/makamys/neodymium/renderer/NeoRenderer.java b/src/main/java/makamys/neodymium/renderer/NeoRenderer.java
index 8eb3e0e..3f45b61 100644
--- a/src/main/java/makamys/neodymium/renderer/NeoRenderer.java
+++ b/src/main/java/makamys/neodymium/renderer/NeoRenderer.java
@@ -5,6 +5,7 @@ import com.falsepattern.rple.api.client.RPLELightMapUtil;
import com.falsepattern.rple.api.client.RPLEShaderConstants;
import lombok.val;
import makamys.neodymium.Compat;
+import makamys.neodymium.Constants;
import makamys.neodymium.Neodymium;
import makamys.neodymium.config.Config;
import makamys.neodymium.ducks.IWorldRenderer;
@@ -205,6 +206,10 @@ public class NeoRenderer {
for (int j = piCount[i].position() - meshes; j < piCount[i].position(); j++) {
renderedQuads += piCount[i].get(j) / 4;
}
+ if(Compat.isHodgepodgeSpeedupAnimationsEnabled() && !Constants.KEEP_RENDER_LIST_LOGIC) {
+ // Hodgepodge hooks this method to decide what animations to play, make sure it runs
+ wr.getGLCallListForPass(i);
+ }
}
}
region.batchLimit[i] = piFirst[i].position();