diff options
Diffstat (limited to 'examples/relative-pointer-unstable-v1.c')
-rw-r--r-- | examples/relative-pointer-unstable-v1.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/relative-pointer-unstable-v1.c b/examples/relative-pointer-unstable-v1.c index 4df94d03..b6e56f84 100644 --- a/examples/relative-pointer-unstable-v1.c +++ b/examples/relative-pointer-unstable-v1.c @@ -443,7 +443,8 @@ int main(int argc, char **argv) { e->egl = calloc(1, sizeof(struct wlr_egl)); e->width = e->height = 512; - wlr_egl_init(e->egl, EGL_PLATFORM_WAYLAND_EXT, display, NULL, 0); + EGLint attribs[] = { EGL_NONE }; + wlr_egl_init(e->egl, EGL_PLATFORM_WAYLAND_EXT, display, attribs, 0); /* Create the surface and xdg_toplevels, and set listeners */ |