diff options
author | Simon Ser <contact@emersion.fr> | 2020-11-25 13:52:05 +0100 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2020-11-25 13:52:05 +0100 |
commit | 6485fadc16a45ccbcbdcc76b064bcd2ee6256cda (patch) | |
tree | 072012ed766a9a64f7c615df247ee3dea4ff81ac | |
parent | 713c1661b742f93a7d2167321837c0d99541ca87 (diff) |
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.
-rw-r--r-- | backend/wayland/backend.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/wayland/backend.c b/backend/wayland/backend.c index 314d45cd..9290e28f 100644 --- a/backend/wayland/backend.c +++ b/backend/wayland/backend.c @@ -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"); |