Skip to content

Commit

Permalink
Apply requested fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
IMS212 committed Oct 5, 2024
1 parent 7fe7c92 commit 1f6ead8
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 49 deletions.
Binary file removed DistantHorizons-forge-2.0.4-a-dev-1.20.1.jar
Binary file not shown.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,6 @@
import org.spongepowered.asm.mixin.injection.*;
import org.spongepowered.asm.mixin.injection.callback.CallbackInfo;

import java.io.IOException;

@Mixin(LevelRenderer.class)
public class MixinLevelRenderer {
private static final String RENDER = "Lnet/minecraft/client/renderer/LevelRenderer;renderLevel(Lcom/mojang/blaze3d/vertex/PoseStack;FJZLnet/minecraft/client/Camera;Lnet/minecraft/client/renderer/GameRenderer;Lnet/minecraft/client/renderer/LightTexture;Lorg/joml/Matrix4f;)V";
Expand Down Expand Up @@ -69,7 +67,8 @@ public class MixinLevelRenderer {
private void iris$setupPipeline(PoseStack poseStack, float tickDelta, long startTime, boolean renderBlockOutline,
Camera camera, GameRenderer gameRenderer, LightTexture lightTexture,
Matrix4f projection, CallbackInfo callback) {
DHCompat.checkFrame();
DHCompat.checkFrame();

IrisTimeUniforms.updateTime();
CapturedRenderingState.INSTANCE.setGbufferModelView(poseStack.last().pose());
CapturedRenderingState.INSTANCE.setGbufferProjection(projection);
Expand Down

0 comments on commit 1f6ead8

Please sign in to comment.