Skip to content

Commit

Permalink
Don't unconditionally enable bevy_render or bevy_assets if mutli-thre…
Browse files Browse the repository at this point in the history
…aded feature is enabled (#11726)

# Objective

bevy_render has been set to be automatically enabled if mutlti-threaded
feature is

## Solution

make it conditional
  • Loading branch information
AxiomaticSemantics authored Feb 6, 2024
1 parent d4132f6 commit f2cb155
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/bevy_internal/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down

0 comments on commit f2cb155

Please sign in to comment.