Skip to content
Commit 1d4cdd1e authored by Jonas Ådahl's avatar Jonas Ådahl Committed by Marge Bot
Browse files

wayland/dma-buf: Always send modifiers when using surfaceless

We'll never scan out, which is why ADDFB2 is required otherwise, and we
won't enable the DMA buffer extension if
'EGL_EXT_image_dma_buf_import_modifiers' is missing, so send modifiers
in this case.

This also happens to avoid crashing when the GPU is null, since we'd
otherwise attempt to dereference it.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2578>
parent 44dae3e1
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment