Don't unconditionally enable bevy_render or bevy_assets if mutli-threaded feature is enabled (#11726)
# Objective bevy_render has been set to be automatically enabled if mutlti-threaded feature is ## Solution make it conditional
This commit is contained in:
parent
d4132f661a
commit
f2cb155abc
@ -75,9 +75,9 @@ serialize = [
|
|||||||
"bevy_ui?/serialize",
|
"bevy_ui?/serialize",
|
||||||
]
|
]
|
||||||
multi-threaded = [
|
multi-threaded = [
|
||||||
"bevy_asset/multi-threaded",
|
"bevy_asset?/multi-threaded",
|
||||||
"bevy_ecs/multi-threaded",
|
"bevy_ecs/multi-threaded",
|
||||||
"bevy_render/multi-threaded",
|
"bevy_render?/multi-threaded",
|
||||||
"bevy_tasks/multi-threaded",
|
"bevy_tasks/multi-threaded",
|
||||||
]
|
]
|
||||||
async-io = ["bevy_tasks/async-io"]
|
async-io = ["bevy_tasks/async-io"]
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user