Skip to content

egl/wayland: ignore unsupported driver configs

Julian Orth requested to merge mahkoh/mesa:jorth/unknown-format into main

What does this MR do and why?

Prevents a segfault in

      if (!server_supports_format(&dri2_dpy->formats, idx)) {
         if (dri2_dpy->fd_render_gpu == dri2_dpy->fd_display_gpu)
            continue;
         if (!server_supports_pipe_format(&dri2_dpy->formats,
                                          dri2_wl_visuals[idx].alt_pipe_format)) {
                                          ^^^^^^^^^^^^^^^^^^^^

Merge request reports