aboutsummaryrefslogtreecommitdiff
path: root/examples/layer-shell.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/layer-shell.c
parentadfb7cd35a364cfbb197720bbb821ccd3c22a613 (diff)
examples: remove visual for EGL_PLATFORM_WAYLAND_EXT
The Wayland EGL platform doesn't have visuals.
Diffstat (limited to 'examples/layer-shell.c')
-rw-r--r--examples/layer-shell.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/layer-shell.c b/examples/layer-shell.c
index 59e2512d..6975bf41 100644
--- a/examples/layer-shell.c
+++ b/examples/layer-shell.c
@@ -611,8 +611,7 @@ int main(int argc, char **argv) {
assert(cursor_surface);
EGLint attribs[] = { EGL_ALPHA_SIZE, 8, EGL_NONE };
- wlr_egl_init(&egl, EGL_PLATFORM_WAYLAND_EXT, display,
- attribs, WL_SHM_FORMAT_ARGB8888);
+ wlr_egl_init(&egl, EGL_PLATFORM_WAYLAND_EXT, display, attribs, 0);
wl_surface = wl_compositor_create_surface(compositor);
assert(wl_surface);