Skip to content
This repository was archived by the owner on Dec 24, 2025. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
package dev.spiritstudios.specter.mixin.debug.client;

import com.llamalad7.mixinextras.injector.ModifyExpressionValue;

import net.minecraft.client.gl.GlResourceManager;

import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.injection.At;

@Mixin(GlResourceManager.class)
public class GlResourceManagerMixin {

@ModifyExpressionValue(method = "setupRenderPass", at = @At(value = "FIELD", target = "Lnet/minecraft/client/gl/RenderPassImpl;IS_DEVELOPMENT:Z"))
private boolean noCrash(boolean original) {
return false;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"defaultRequire": 1
},
"client": [
"DebugRendererMixin"
"DebugRendererMixin",
"GlResourceManagerMixin"
]
}
Loading