1
0
mirror of https://github.com/emilk/egui.git synced 2026-06-26 14:49:06 -04:00

wgpu backend: Enable WebGL fallback (#8038)

* Fix for https://github.com/emilk/eframe_template/issues/223
* Related: https://github.com/gfx-rs/wgpu/pull/9319

By default, we would only turn on the WebGPU backend on web, which means
browsers without WebGPU support would just crash.

You can still opt-out of all the default `wgpu` features by enabling
`eframe/wgpu_no_default_features` instead of `eframe/wgpu`
This commit is contained in:
Emil Ernerfeldt
2026-03-27 11:12:46 +01:00
committed by GitHub
parent 82a578e58c
commit 3cf3141e8f
6 changed files with 10 additions and 10 deletions

View File

@@ -1330,7 +1330,6 @@ dependencies = [
"wasm-bindgen",
"wasm-bindgen-futures",
"web-sys",
"wgpu",
]
[[package]]