From 9714638f3b521e10dc4649d62be41f6a5771ee38 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Mon, 4 Jan 2021 11:26:08 +0100 Subject: examples: remove visual for EGL_PLATFORM_WAYLAND_EXT The Wayland EGL platform doesn't have visuals. --- examples/layer-shell.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'examples/layer-shell.c') 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); -- cgit v1.2.3