mirror of
https://github.com/emilk/egui.git
synced 2026-08-29 04:40:03 -04:00
egui-wgpu: turn off the default features of wgpu (#3875)
This makes all `wgpu` features opt-in for `egui-wgpu` users. For `eframe`, I opted to enable some `wgpu` features so users can still use `eframe` without having to also opt-in to extra ewgpu features (eframe is batteries-included).
This commit is contained in:
@@ -53,7 +53,7 @@ glow = "0.13"
|
||||
puffin = "0.18"
|
||||
raw-window-handle = "0.6.0"
|
||||
thiserror = "1.0.37"
|
||||
wgpu = { version = "0.19.1", features = [
|
||||
wgpu = { version = "0.19.1", default-features = false, features = [
|
||||
# Make the renderer `Sync` even on wasm32, because it makes the code simpler:
|
||||
"fragile-send-sync-non-atomic-wasm",
|
||||
] }
|
||||
|
||||
Reference in New Issue
Block a user