Commit edf96443 authored by Jonas Ådahl's avatar Jonas Ådahl Committed by Olivier Fourdan
Browse files

xwayland/glamor-gbm: Handle DRM_FORMAT_MOD_INVALID gracefully



The compositor may send DRM_FORMAT_MOD_INVALID instead of a list of
modifiers for various reasons. Handle this gracefully by ignoring it.

Without this, if a compositor would send DRM_FORMAT_MOD_INVALID, it'd
result in empty windows provided by Xwayland.
Signed-off-by: Jonas Ådahl's avatarJonas Ådahl <jadahl@gmail.com>
Reviewed-by: default avatarOlivier Fourdan <ofourdan@redhat.com>
Reviewed-by: Michel Dänzer's avatarMichel Dänzer <mdaenzer@redhat.com>
parent 429ee86a
Pipeline #65585 passed with stages
in 11 minutes and 42 seconds