diff options
Diffstat (limited to 'examples')
-rw-r--r-- | examples/idle-inhibit.c | 3 | ||||
-rw-r--r-- | examples/input-inhibitor.c | 3 | ||||
-rw-r--r-- | examples/keyboard-shortcuts-inhibit.c | 3 | ||||
-rw-r--r-- | examples/layer-shell.c | 3 | ||||
-rw-r--r-- | examples/pointer-constraints.c | 3 | ||||
-rw-r--r-- | examples/relative-pointer-unstable-v1.c | 3 | ||||
-rw-r--r-- | examples/text-input.c | 3 | ||||
-rw-r--r-- | examples/toplevel-decoration.c | 3 |
8 files changed, 8 insertions, 16 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 = diff --git a/examples/input-inhibitor.c b/examples/input-inhibitor.c index 7192b45b..fe726e0b 100644 --- a/examples/input-inhibitor.c +++ b/examples/input-inhibitor.c @@ -157,8 +157,7 @@ int main(int argc, char **argv) { input_inhibit_manager); assert(input_inhibitor); - 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); assert(surface); diff --git a/examples/keyboard-shortcuts-inhibit.c b/examples/keyboard-shortcuts-inhibit.c index e9a837b6..bc90f7b4 100644 --- a/examples/keyboard-shortcuts-inhibit.c +++ b/examples/keyboard-shortcuts-inhibit.c @@ -224,8 +224,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 = diff --git a/examples/layer-shell.c b/examples/layer-shell.c index 59e2512d..6975bf41 100644 --- a/examples/layer-shell.c +++ b/examples/layer-shell.c @@ -611,8 +611,7 @@ int main(int argc, char **argv) { assert(cursor_surface); EGLint attribs[] = { EGL_ALPHA_SIZE, 8, EGL_NONE }; - wlr_egl_init(&egl, EGL_PLATFORM_WAYLAND_EXT, display, - attribs, WL_SHM_FORMAT_ARGB8888); + wlr_egl_init(&egl, EGL_PLATFORM_WAYLAND_EXT, display, attribs, 0); wl_surface = wl_compositor_create_surface(compositor); assert(wl_surface); diff --git a/examples/pointer-constraints.c b/examples/pointer-constraints.c index f67f1ede..3dedfb0a 100644 --- a/examples/pointer-constraints.c +++ b/examples/pointer-constraints.c @@ -211,8 +211,7 @@ int main(int argc, char **argv) { wl_region_add(joint_region, 256, 256, 256, 256); regions[REGION_TYPE_JOINT] = joint_region; - 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 = 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 */ 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 = diff --git a/examples/toplevel-decoration.c b/examples/toplevel-decoration.c index cb8caace..3fb90d18 100644 --- a/examples/toplevel-decoration.c +++ b/examples/toplevel-decoration.c @@ -218,8 +218,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 = |