From cd5b1d1ac214937c8ced6d0a72b8fdc889e71c3c Mon Sep 17 00:00:00 2001 From: makamys Date: Sat, 8 May 2021 23:29:51 +0200 Subject: Do some cleaning in LODRenderer --- src/main/java/makamys/lodmod/mixin/MixinRenderGlobal.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/java/makamys/lodmod/mixin/MixinRenderGlobal.java') diff --git a/src/main/java/makamys/lodmod/mixin/MixinRenderGlobal.java b/src/main/java/makamys/lodmod/mixin/MixinRenderGlobal.java index a2acecf..e6f4de7 100644 --- a/src/main/java/makamys/lodmod/mixin/MixinRenderGlobal.java +++ b/src/main/java/makamys/lodmod/mixin/MixinRenderGlobal.java @@ -23,7 +23,7 @@ abstract class MixinRenderGlobal { int numba = thiz.getGLCallListForPass(arg); if(LODMod.isActive()) { if(numba != -1) { - LODMod.renderer.onWorldRendererFrustumChange(thiz, true); + LODMod.renderer.onWorldRendererRender(thiz); } } return numba; -- cgit