egl/wayland: ignore unsupported driver configs
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29904>
This commit is contained in:
@@ -2073,6 +2073,9 @@ dri2_wl_add_configs_for_visuals(_EGLDisplay *disp)
|
||||
bool conversion = false;
|
||||
int idx = dri2_wl_visual_idx_from_config(dri2_dpy->driver_configs[i]);
|
||||
|
||||
if (idx < 0)
|
||||
continue;
|
||||
|
||||
/* Check if the server natively supports the colour buffer format */
|
||||
if (!server_supports_format(&dri2_dpy->formats, idx)) {
|
||||
/* In multi-GPU scenarios, we usually have a different buffer, so a
|
||||
|
Reference in New Issue
Block a user