Batching is not actually compatible with shaders

This commit is contained in:
Jozufozu 2021-12-28 15:26:56 -08:00
parent b5a9741caf
commit b7e1aa581d

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();
};
}