1
0
mirror of https://github.com/emilk/egui.git synced 2026-08-29 04:40:03 -04:00

Minor wgpu-web releated stuff (#1977)

* egui_demo_app: remove wgpu and pollster as direct dependencies

* eframe: use same web-sys version as wgpu crate

* Make note that web_sys_unstable_apis is required by the wgpu crate

* Rename the glow web painter in eframe

* Remove trait DummyWebGLConstructor from web_glow_painter.rs

* cargo fmt

* Fix check.sh
This commit is contained in:
Emil Ernerfeldt
2022-08-28 10:58:58 +02:00
committed by GitHub
parent dbfaa4527b
commit 3142c52b94
8 changed files with 23 additions and 27 deletions

View File

@@ -34,7 +34,7 @@ serde = [
syntax_highlighting = ["egui_demo_lib/syntax_highlighting"]
glow = ["eframe/glow"]
wgpu = ["eframe/wgpu", "bytemuck", "pollster", "dep:wgpu"]
wgpu = ["eframe/wgpu", "bytemuck"]
[dependencies]
@@ -48,7 +48,6 @@ tracing = "0.1"
bytemuck = { version = "1.7.1", optional = true }
egui_extras = { version = "0.19.0", optional = true, path = "../egui_extras" }
wgpu = { version = "0.13", optional = true, features = ["webgl"] }
# feature "http":
ehttp = { version = "0.2.0", optional = true }
@@ -57,7 +56,6 @@ image = { version = "0.24", optional = true, default-features = false, features
"png",
] }
poll-promise = { version = "0.1", optional = true, default-features = false }
pollster = { version = "0.2.5", optional = true }
# feature "persistence":
serde = { version = "1", optional = true, features = ["derive"] }