Skip to content

Commit

Permalink
add webgpu feature by default for wgpu feature of eframe (emilk#4124)
Browse files Browse the repository at this point in the history
Fix emilk#4123. Looks like it was caused by emilk#3875.
  • Loading branch information
ctaggart authored and hacknus committed Oct 30, 2024
1 parent 0747fa5 commit 18aadc1
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 18aadc1

Please sign in to comment.