Files
NeoForge/patches/com/mojang/blaze3d/pipeline/TextureTarget.java.patch
T
f6b195024f Port to 26.2-pre-2
Co-Authored-By: Dennis C <[email protected]>
Co-Authored-By: RogueLogix <[email protected]>
2026-06-15 12:29:10 +01:00

16 lines
693 B
Diff

--- a/com/mojang/blaze3d/pipeline/TextureTarget.java
+++ b/com/mojang/blaze3d/pipeline/TextureTarget.java
@@ -9,7 +_,11 @@
@OnlyIn(Dist.CLIENT)
public class TextureTarget extends RenderTarget {
public TextureTarget(@Nullable String label, int width, int height, boolean useDepth, GpuFormat format) {
- super(label, useDepth, format);
+ this(label, width, height, useDepth, false, format);
+ }
+
+ public TextureTarget(@Nullable String label, int width, int height, boolean useDepth, boolean useStencil, GpuFormat format) {
+ super(label, useDepth, useStencil, format);
RenderSystem.assertOnRenderThread();
this.resize(width, height);
}