Skip to content

Commit

Permalink
Fix import whoopsie
Browse files Browse the repository at this point in the history
  • Loading branch information
FiniteReality committed Dec 8, 2024
1 parent 75f5197 commit 5537e4c
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions patches/net/minecraft/client/renderer/PostChain.java.patch
Original file line number Diff line number Diff line change
@@ -1,22 +1,13 @@
--- a/net/minecraft/client/renderer/PostChain.java
+++ b/net/minecraft/client/renderer/PostChain.java
@@ -17,6 +_,8 @@
import java.util.stream.Collectors;
import java.util.stream.Stream;
import javax.annotation.Nullable;
+
+import net.minecraft.client.renderer.PostPass.TargetInput.BufferType;
import net.minecraft.client.renderer.texture.AbstractTexture;
import net.minecraft.client.renderer.texture.TextureManager;
import net.minecraft.resources.ResourceLocation;
@@ -79,8 +_,8 @@
abstracttexture.setFilter(flag, false);
postpass.addInput(new PostPass.TextureInput(s3, abstracttexture, i, j));
continue;
- case PostChainConfig.TargetInput(String s1, ResourceLocation resourcelocation1, boolean flag1, boolean flag2):
- postpass.addInput(new PostPass.TargetInput(s1, resourcelocation1, flag1, flag2));
+ case PostChainConfig.TargetInput(String s1, ResourceLocation resourcelocation1, boolean flag1, boolean flag2, boolean useStencilBuffer):
+ postpass.addInput(new PostPass.TargetInput(s1, resourcelocation1, BufferType.from(flag1, useStencilBuffer), flag2));
+ postpass.addInput(new PostPass.TargetInput(s1, resourcelocation1, net.minecraft.client.renderer.PostPass.TargetInput.BufferType.from(flag1, useStencilBuffer), flag2));
continue;
default:
throw new MatchException(null, null);
Expand Down

0 comments on commit 5537e4c

Please sign in to comment.