aboutsummaryrefslogtreecommitdiff
path: root/examples/relative-pointer-unstable-v1.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/relative-pointer-unstable-v1.c')
-rw-r--r--examples/relative-pointer-unstable-v1.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/relative-pointer-unstable-v1.c b/examples/relative-pointer-unstable-v1.c
index 02f9d1c5..4df94d03 100644
--- a/examples/relative-pointer-unstable-v1.c
+++ b/examples/relative-pointer-unstable-v1.c
@@ -443,8 +443,7 @@ 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,
- WL_SHM_FORMAT_ARGB8888);
+ wlr_egl_init(e->egl, EGL_PLATFORM_WAYLAND_EXT, display, NULL, 0);
/* Create the surface and xdg_toplevels, and set listeners */