Skip to content

Commit

Permalink
Remove bad patch (my bad)
Browse files Browse the repository at this point in the history
  • Loading branch information
Technici4n committed Jan 14, 2025
1 parent 1f62c68 commit 3a9cf29
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions patches/com/mojang/blaze3d/pipeline/MainTarget.java.patch
Original file line number Diff line number Diff line change
Expand Up @@ -25,17 +25,6 @@
GlStateManager._bindTexture(0);
this.viewWidth = maintarget$dimension.width;
this.viewHeight = maintarget$dimension.height;
@@ -58,8 +_,8 @@
maintarget$attachmentstate = maintarget$attachmentstate.with(MainTarget.AttachmentState.COLOR);
}

- if (this.allocateDepthAttachment(maintarget$dimension)) {
- maintarget$attachmentstate = maintarget$attachmentstate.with(MainTarget.AttachmentState.DEPTH);
+ if (this.useStencil && this.allocateDepthAttachment(maintarget$dimension)) {
+ maintarget$attachmentstate = maintarget$attachmentstate.with(AttachmentState.DEPTH);
}

if (maintarget$attachmentstate == MainTarget.AttachmentState.COLOR_DEPTH) {
@@ -82,7 +_,11 @@
RenderSystem.assertOnRenderThreadOrInit();
GlStateManager._getError();
Expand Down

0 comments on commit 3a9cf29

Please sign in to comment.