summaryrefslogtreecommitdiffstats
path: root/examples/integration
diff options
context:
space:
mode:
authorLibravatar Thomas <thomasbirke@gmx.de>2023-09-09 13:59:18 +0200
committerLibravatar Thomas <thomasbirke@gmx.de>2023-09-09 13:59:18 +0200
commit9c2ad457d80e8254955396ad034df0dd5f2b59b3 (patch)
treed7a6525bef67be3869b33c610e980ccfce8202e5 /examples/integration
parent89d9c45d25e9bf89e48858b135bc7a2d41c757a8 (diff)
downloadiced-9c2ad457d80e8254955396ad034df0dd5f2b59b3.tar.gz
iced-9c2ad457d80e8254955396ad034df0dd5f2b59b3.tar.bz2
iced-9c2ad457d80e8254955396ad034df0dd5f2b59b3.zip
Add webgl feature for web examples
Diffstat (limited to 'examples/integration')
-rw-r--r--examples/integration/Cargo.toml3
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/integration/Cargo.toml b/examples/integration/Cargo.toml
index 032cc75e..bf70a619 100644
--- a/examples/integration/Cargo.toml
+++ b/examples/integration/Cargo.toml
@@ -13,6 +13,9 @@ iced_widget.workspace = true
tracing-subscriber = "0.3"
[target.'cfg(target_arch = "wasm32")'.dependencies]
+iced_wgpu.workspace = true
+iced_wgpu.features = ["webgl"]
+
console_error_panic_hook = "0.1"
console_log = "1.0"
log.workspace = true