mirror of
https://github.com/emilk/egui.git
synced 2026-09-01 14:20: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:
@@ -88,7 +88,11 @@ puffin = [
|
||||
]
|
||||
|
||||
## Enables wayland support and fixes clipboard issue.
|
||||
wayland = ["egui-winit/wayland"]
|
||||
wayland = [
|
||||
"egui-winit/wayland",
|
||||
"egui-wgpu?/wayland",
|
||||
"egui_glow?/wayland",
|
||||
]
|
||||
|
||||
## Enable screen reader support (requires `ctx.options_mut(|o| o.screen_reader = true);`) on web.
|
||||
##
|
||||
@@ -114,7 +118,11 @@ web_screen_reader = [
|
||||
wgpu = ["dep:wgpu", "dep:egui-wgpu", "dep:pollster"]
|
||||
|
||||
## Enables compiling for x11.
|
||||
x11 = ["egui-winit/x11"]
|
||||
x11 = [
|
||||
"egui-winit/x11",
|
||||
"egui-wgpu?/x11",
|
||||
"egui_glow?/x11",
|
||||
]
|
||||
|
||||
## If set, eframe will look for the env-var `EFRAME_SCREENSHOT_TO` and write a screenshot to that location, and then quit.
|
||||
## This is used to generate images for examples.
|
||||
|
||||
Reference in New Issue
Block a user