mirror of
https://github.com/emilk/egui.git
synced 2026-09-02 23:00:04 -04:00
Add x11 and wayland features to egui-wgpu and egui_glow (#3909)
This allows them to build correctly on Linux by passing one or both of the features alongside `winit`. Closes #3492 Closes #2286
This commit is contained in:
@@ -39,9 +39,15 @@ links = ["egui-winit?/links"]
|
||||
## Enable profiling with the [`puffin`](https://docs.rs/puffin) crate.
|
||||
puffin = ["dep:puffin", "egui-winit?/puffin", "egui/puffin"]
|
||||
|
||||
## Enable [`winit`](https://docs.rs/winit) integration.
|
||||
## Enable [`winit`](https://docs.rs/winit) integration. On Linux, requires either `wayland` or `x11`
|
||||
winit = ["egui-winit", "dep:winit"]
|
||||
|
||||
## Enables Wayland support for winit.
|
||||
wayland = ["winit?/wayland"]
|
||||
|
||||
## Enables x11 support for winit.
|
||||
x11 = ["winit?/x11"]
|
||||
|
||||
|
||||
[dependencies]
|
||||
egui = { version = "0.25.0", path = "../egui", default-features = false, features = [
|
||||
|
||||
Reference in New Issue
Block a user