diff options
Diffstat (limited to 'examples/text-input.c')
-rw-r--r-- | examples/text-input.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/text-input.c b/examples/text-input.c index 6f555a67..cc89cbf4 100644 --- a/examples/text-input.c +++ b/examples/text-input.c @@ -363,8 +363,8 @@ 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, 0); + EGLint attribs[] = { EGL_NONE }; + wlr_egl_init(&egl, EGL_PLATFORM_WAYLAND_EXT, display, attribs, 0); struct wl_surface *surface = wl_compositor_create_surface(compositor); struct xdg_surface *xdg_surface = |