Enabled wayland feature for winit when running native (#2751)

* Enabled wayland feature for winit when native

* Enable egui-winit/wayland through eframe instead by on by default
This commit is contained in:
ItsEthra 2023-03-29 15:38:27 +03:00 committed by GitHub
parent 94f8b02286
commit c5caed5b35
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -38,6 +38,9 @@ default_fonts = ["egui/default_fonts"]
## Use [`glow`](https://github.com/grovesNL/glow) for painting, via [`egui_glow`](https://github.com/emilk/egui/tree/master/crates/egui_glow).
glow = ["dep:glow", "dep:egui_glow", "dep:glutin", "dep:glutin-winit"]
## Enables wayland support and fixes clipboard issue.
wayland = ["egui-winit/wayland"]
## Enable saving app state to disk.
persistence = [
"directories-next",