aboutsummaryrefslogtreecommitdiff
path: root/examples/input-inhibitor.c
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2021-01-04 11:26:08 +0100
committerSimon Ser <contact@emersion.fr>2021-01-04 11:26:08 +0100
commit9714638f3b521e10dc4649d62be41f6a5771ee38 (patch)
treec7c44b1a902fff027bbf14b590819596fa6f6314 /examples/input-inhibitor.c
parentadfb7cd35a364cfbb197720bbb821ccd3c22a613 (diff)
examples: remove visual for EGL_PLATFORM_WAYLAND_EXT
The Wayland EGL platform doesn't have visuals.
Diffstat (limited to 'examples/input-inhibitor.c')
-rw-r--r--examples/input-inhibitor.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/input-inhibitor.c b/examples/input-inhibitor.c
index 7192b45b..fe726e0b 100644
--- a/examples/input-inhibitor.c
+++ b/examples/input-inhibitor.c
@@ -157,8 +157,7 @@ int main(int argc, char **argv) {
input_inhibit_manager);
assert(input_inhibitor);
- wlr_egl_init(&egl, EGL_PLATFORM_WAYLAND_EXT, display, NULL,
- WL_SHM_FORMAT_ARGB8888);
+ wlr_egl_init(&egl, EGL_PLATFORM_WAYLAND_EXT, display, NULL, 0);
struct wl_surface *surface = wl_compositor_create_surface(compositor);
assert(surface);