summaryrefslogtreecommitdiffstats
path: root/wgpu
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón <hector0193@gmail.com>2023-09-04 04:04:01 +0200
committerLibravatar GitHub <noreply@github.com>2023-09-04 04:04:01 +0200
commita56b25b9096d47ada3c4349f5b91110dfaa92bf6 (patch)
treec9308e295f7e5752facc83b5c6c1ed2f261135ba /wgpu
parent2c51e3478bfb1c53ea7e63b1f1dc74ec46faa748 (diff)
parent685e44587c8c89be455838d6b96f3b762da836f9 (diff)
downloadiced-a56b25b9096d47ada3c4349f5b91110dfaa92bf6.tar.gz
iced-a56b25b9096d47ada3c4349f5b91110dfaa92bf6.tar.bz2
iced-a56b25b9096d47ada3c4349f5b91110dfaa92bf6.zip
Merge pull request #2068 from iced-rs/webgpu-by-default
Enable WebGPU backend in `wgpu` by default instead of WebGL
Diffstat (limited to 'wgpu')
-rw-r--r--wgpu/Cargo.toml4
1 files changed, 1 insertions, 3 deletions
diff --git a/wgpu/Cargo.toml b/wgpu/Cargo.toml
index b0f70220..49c62673 100644
--- a/wgpu/Cargo.toml
+++ b/wgpu/Cargo.toml
@@ -12,6 +12,7 @@ geometry = ["iced_graphics/geometry", "lyon"]
image = ["iced_graphics/image"]
svg = ["resvg"]
web-colors = ["iced_graphics/web-colors"]
+webgl = ["wgpu/webgl"]
[dependencies]
wgpu = "0.17"
@@ -24,9 +25,6 @@ once_cell = "1.0"
rustc-hash = "1.1"
log = "0.4"
-[target.'cfg(target_arch = "wasm32")'.dependencies]
-wgpu = { version = "0.17", features = ["webgl"] }
-
[dependencies.twox-hash]
version = "1.6"
default-features = false