mirror of
https://github.com/emilk/egui.git
synced 2026-09-02 23:00:04 -04:00
Update wgpu to 0.19 (#3824)
* Closes https://github.com/emilk/egui/issues/3675 --------- Co-authored-by: Andreas Reich <r_andreas2@web.de> Co-authored-by: Mingun <Alexander_Sergey@mail.ru>
This commit is contained in:
@@ -29,7 +29,7 @@ serde = ["dep:serde", "egui_demo_lib/serde", "egui/serde"]
|
||||
syntect = ["egui_demo_lib/syntect"]
|
||||
|
||||
glow = ["eframe/glow"]
|
||||
wgpu = ["eframe/wgpu", "bytemuck"]
|
||||
wgpu = ["eframe/wgpu", "bytemuck", "dep:wgpu"]
|
||||
|
||||
[dependencies]
|
||||
chrono = { version = "0.4", default-features = false, features = [
|
||||
@@ -57,6 +57,8 @@ log = { version = "0.4", features = ["std"] }
|
||||
bytemuck = { version = "1.7.1", optional = true }
|
||||
puffin = { version = "0.18", optional = true }
|
||||
puffin_http = { version = "0.15", optional = true }
|
||||
# Enable both WebGL & WebGPU when targeting the web (these features have no effect when not targeting wasm32)
|
||||
wgpu = { workspace = true, features = ["webgpu", "webgl"], optional = true }
|
||||
|
||||
|
||||
# feature "http":
|
||||
@@ -81,6 +83,6 @@ rfd = { version = "0.11", optional = true }
|
||||
|
||||
# web:
|
||||
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
||||
wasm-bindgen = "=0.2.89"
|
||||
wasm-bindgen = "=0.2.90"
|
||||
wasm-bindgen-futures = "0.4"
|
||||
web-sys = "0.3"
|
||||
|
||||
Reference in New Issue
Block a user