Skip to content

Commit

Permalink
add webgpu feature by default for wgpu feature of eframe (#4124)
Browse files Browse the repository at this point in the history
Fix #4123. Looks like it was caused by #3875.
  • Loading branch information
ctaggart authored Mar 4, 2024
1 parent 18eeb01 commit ca1f453
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion crates/eframe/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -239,4 +239,8 @@ web-sys = { version = "0.3.58", features = [

# optional web:
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",
] }

0 comments on commit ca1f453

Please sign in to comment.