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:
AxiomaticSemantics 2024-02-06 09:40:56 -05:00 committed by GitHub
parent d4132f661a
commit f2cb155abc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -75,9 +75,9 @@ serialize = [
"bevy_ui?/serialize",
]
multi-threaded = [
"bevy_asset/multi-threaded",
"bevy_asset?/multi-threaded",
"bevy_ecs/multi-threaded",
"bevy_render/multi-threaded",
"bevy_render?/multi-threaded",
"bevy_tasks/multi-threaded",
]
async-io = ["bevy_tasks/async-io"]