backend/wayland: don't set EGL visual

The Wayland platform doesn't have visuals. By chance,
WL_SHM_FORMAT_ARGB8888 is zero, which means egl_get_config was ignoring
it and everything worked fine.
This commit is contained in:
Simon Ser 2020-11-25 13:52:05 +01:00
parent 713c1661b7
commit 6485fadc16
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48

View file

@ -316,7 +316,7 @@ struct wlr_backend *wlr_wl_backend_create(struct wl_display *display,
}
wl->renderer = create_renderer_func(&wl->egl, EGL_PLATFORM_WAYLAND_EXT,
wl->remote_display, config_attribs, WL_SHM_FORMAT_ARGB8888);
wl->remote_display, config_attribs, 0);
if (!wl->renderer) {
wlr_log(WLR_ERROR, "Could not create renderer");