Skip to content

Commit

Permalink
make wasm work for now
Browse files Browse the repository at this point in the history
  • Loading branch information
Elabajaba committed Jul 30, 2023
1 parent 06989a4 commit c873268
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion crates/bevy_render/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,9 @@ bevy_tasks = { path = "../bevy_tasks", version = "0.12.0-dev" }
image = { version = "0.24", default-features = false }

# misc
wgpu = { version = "0.17.0", features=["naga"] }
# `fragile-send-sync-non-atomic-wasm` feature means we can't use WASM threads for rendering
# It is enabled for now to avoid having to do a significant overhaul of the renderer just for wasm
wgpu = { version = "0.17.0", features=["naga", "fragile-send-sync-non-atomic-wasm"] }
codespan-reporting = "0.11.0"
naga = { version = "0.13.0", features = ["wgsl-in"] }
serde = { version = "1", features = ["derive"] }
Expand Down

0 comments on commit c873268

Please sign in to comment.