Cut redundant GLSM state tracking (#2189)

This commit is contained in:
Jason Mitchell authored and GitHub committed 2026-10-02 20:11:37 -07:00
1 parent 80e5b544c0
commit 12fa08ab46
11 files changed
+281 -82

No files matched your search

@@ -176,11 +176,6 @@ public class AngelicaConfig {
@Config.RequiresMcRestart
public static boolean shaderParityFlip;
@Config.Comment("Skip the end-of-frame glFlush before the buffer swap [Experimental]")
@Config.DefaultBoolean(false)
@Config.RequiresMcRestart
public static boolean skipEndOfFrameFlush;
@Config.Comment("Cache the vanilla skull mesh per skull type/player skin and batch skull draws")
@Config.DefaultBoolean(true)
@Config.RequiresMcRestart
@@ -206,9 +206,8 @@ public enum Mixins implements IMixins {
)
),
ANGELICA_SKIP_END_FRAME_FLUSH(new MixinBuilder("Skip the end-of-frame glFlush before the buffer swap")
ANGELICA_SKIP_END_FRAME_FLUSH(new MixinBuilder("Skip vanilla's end-of-frame glFlush; the buffer swap flushes")
.setPhase(Phase.EARLY)
.setApplyIf(() -> AngelicaConfig.skipEndOfFrameFlush)
.addClientMixins(
"angelica.MixinMinecraft_SkipEndFrameFlush"
)