1
0
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:
Emil Ernerfeldt
2024-01-24 09:43:40 +01:00
committed by GitHub
parent 4d1a736016
commit 3a8e2348a5
4 changed files with 8 additions and 23 deletions

View File

@@ -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",
] }