aboutsummaryrefslogtreecommitdiff
path: root/examples/idle-inhibit.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/idle-inhibit.c')
-rw-r--r--examples/idle-inhibit.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/idle-inhibit.c b/examples/idle-inhibit.c
index 5de32dbd..dafaad4a 100644
--- a/examples/idle-inhibit.c
+++ b/examples/idle-inhibit.c
@@ -192,8 +192,7 @@ int main(int argc, char **argv) {
return EXIT_FAILURE;
}
- 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 =