Batching is not actually compatible with shaders

This commit is contained in:
Jozufozu 2021-12-28 15:26:56 -08:00
parent 179eafecd3
commit 92ad07c779

View file

@ -115,7 +115,7 @@ public class Backend {
enabled = switch (engine) {
case OFF -> false;
case BATCHING -> true;
case BATCHING -> !usingShaders;
case INSTANCING -> !usingShaders && compat.instancedArraysSupported();
};
}