examples: remove visual for EGL_PLATFORM_WAYLAND_EXT

The Wayland EGL platform doesn't have visuals.
This commit is contained in:
Simon Ser 2021-01-04 11:26:08 +01:00
parent adfb7cd35a
commit 9714638f3b
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48
8 changed files with 8 additions and 16 deletions

View file

@ -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);