mirror of
https://github.com/Jozufozu/Flywheel.git
synced 2024-12-27 07:26:48 +01:00
Batching is not actually compatible with shaders
This commit is contained in:
parent
b5a9741caf
commit
b7e1aa581d
1 changed files with 1 additions and 1 deletions
|
@ -115,7 +115,7 @@ public class Backend {
|
||||||
|
|
||||||
enabled = switch (engine) {
|
enabled = switch (engine) {
|
||||||
case OFF -> false;
|
case OFF -> false;
|
||||||
case BATCHING -> true;
|
case BATCHING -> !usingShaders;
|
||||||
case INSTANCING -> !usingShaders && compat.instancedArraysSupported();
|
case INSTANCING -> !usingShaders && compat.instancedArraysSupported();
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue