mirror of
https://github.com/emilk/egui.git
synced 2026-09-02 14:50:03 -04:00
add webgpu feature by default for wgpu feature of eframe (#4124)
Fix #4123. Looks like it was caused by #3875.
This commit is contained in:
@@ -239,4 +239,8 @@ web-sys = { version = "0.3.58", features = [
|
|||||||
|
|
||||||
# optional web:
|
# optional web:
|
||||||
egui-wgpu = { workspace = true, optional = true } # if wgpu is used, use it without (!) winit
|
egui-wgpu = { workspace = true, optional = true } # if wgpu is used, use it without (!) winit
|
||||||
wgpu = { workspace = true, optional = true }
|
wgpu = { workspace = true, optional = true, features = [
|
||||||
|
# Let's enable some backends so that users can use `eframe` out-of-the-box
|
||||||
|
# without having to explicitly opt-in to backends
|
||||||
|
"webgpu",
|
||||||
|
] }
|
||||||
|
|||||||
Reference in New Issue
Block a user