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/text-input.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'examples/text-input.c') diff --git a/examples/text-input.c b/examples/text-input.c index ec75d307..6f555a67 100644 --- a/examples/text-input.c +++ b/examples/text-input.c @@ -364,8 +364,7 @@ int main(int argc, char **argv) { zwp_text_input_v3_add_listener(text_input, &text_input_listener, NULL); - 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); struct xdg_surface *xdg_surface = -- cgit v1.2.3