diff options
author | Simon Ser <contact@emersion.fr> | 2021-01-04 11:26:08 +0100 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2021-01-04 11:26:08 +0100 |
commit | 9714638f3b521e10dc4649d62be41f6a5771ee38 (patch) | |
tree | c7c44b1a902fff027bbf14b590819596fa6f6314 /examples/layer-shell.c | |
parent | adfb7cd35a364cfbb197720bbb821ccd3c22a613 (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.c | 3 |
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); |