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/text-input.c | |
parent | adfb7cd35a364cfbb197720bbb821ccd3c22a613 (diff) |
examples: remove visual for EGL_PLATFORM_WAYLAND_EXT
The Wayland EGL platform doesn't have visuals.
Diffstat (limited to 'examples/text-input.c')
-rw-r--r-- | examples/text-input.c | 3 |
1 files changed, 1 insertions, 2 deletions
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 = |