Remove WASM workaround that is no longer required

This commit is contained in:
Hanno Braun 2022-11-09 15:55:32 +01:00
parent d9bef00c12
commit 259f31f3e8
2 changed files with 0 additions and 7 deletions

1
Cargo.lock generated
View File

@ -1242,7 +1242,6 @@ dependencies = [
"egui-wgpu",
"fj-interop",
"fj-math",
"getrandom",
"raw-window-handle 0.4.3",
"rfd",
"thiserror",

View File

@ -31,9 +31,3 @@ features = ["xdg-portal"]
[dependencies.wgpu]
version = "0.13.1"
features = ["webgl"]
# We don't depend on `getrandom` directly, but we need this to enable the `js`
# feature when cross-compiling to WASM. Otherwise, `getrandom` will not build.
[target.'cfg(target_arch = "wasm32")'.dependencies.getrandom]
version = "0.2.8"
features = ["js"]