aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/makamys/lodmod/mixin/MixinRenderGlobal.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/makamys/lodmod/mixin/MixinRenderGlobal.java')
-rw-r--r--src/main/java/makamys/lodmod/mixin/MixinRenderGlobal.java8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/main/java/makamys/lodmod/mixin/MixinRenderGlobal.java b/src/main/java/makamys/lodmod/mixin/MixinRenderGlobal.java
index 39b435e..e03bc95 100644
--- a/src/main/java/makamys/lodmod/mixin/MixinRenderGlobal.java
+++ b/src/main/java/makamys/lodmod/mixin/MixinRenderGlobal.java
@@ -31,14 +31,6 @@ abstract class MixinRenderGlobal {
}
}
- // for OptiFine's Fast Render option
- @Redirect(method = "renderSortedRenderersFast", at = @At(value = "INVOKE", target = "Lorg/lwjgl/opengl/GL11;glCallLists(Ljava/nio/IntBuffer;)V"), remap=false)
- private void redirectRenderAllRenderLists(IntBuffer buffer) {
- if(!LODMod.isActive() || (LODMod.isActive() && LODMod.renderer.renderWorld)) {
- GL11.glCallLists(buffer);
- }
- }
-
@Inject(method = "renderSortedRenderers", at = @At(value = "HEAD"))
public void preRenderSortedRenderers(int startRenderer, int numRenderers, int renderPass, double partialTickTime, CallbackInfoReturnable cir) {
if(LODMod.isActive()) {