mirror of
https://github.com/GTNewHorizons/Angelica.git
synced 2026-11-25 14:44:28 +00:00
Cut redundant GLSM state tracking (#2189)
This commit is contained in:
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"
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user