From 92ad07c77988da10d1a3bc97d1be89fd53aaa7d8 Mon Sep 17 00:00:00 2001 From: Jozufozu Date: Tue, 28 Dec 2021 15:26:56 -0800 Subject: [PATCH] Batching is not actually compatible with shaders --- src/main/java/com/jozufozu/flywheel/backend/Backend.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/jozufozu/flywheel/backend/Backend.java b/src/main/java/com/jozufozu/flywheel/backend/Backend.java index 1d5f931eb..b8ec0ff04 100644 --- a/src/main/java/com/jozufozu/flywheel/backend/Backend.java +++ b/src/main/java/com/jozufozu/flywheel/backend/Backend.java @@ -115,7 +115,7 @@ public class Backend { enabled = switch (engine) { case OFF -> false; - case BATCHING -> true; + case BATCHING -> !usingShaders; case INSTANCING -> !usingShaders && compat.instancedArraysSupported(); }; }