aboutsummaryrefslogtreecommitdiff
path: root/backend/x11
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2021-03-31 17:07:55 +0200
committerSimon Zeni <simon@bl4ckb0ne.ca>2021-11-26 16:40:53 +0000
commitaffe9eda5708a8368dd96870ddf2442c5b637202 (patch)
tree6912c82e67d1ad0c709179735d541e1e102114ff /backend/x11
parentd78cb808b1b051eae443e368c0b88bc90258fd02 (diff)
Require INVALID for implicit format modifiers
See [1] for the motivation. [1]: https://gitlab.freedesktop.org/wayland/wayland-protocols/-/merge_requests/75
Diffstat (limited to 'backend/x11')
-rw-r--r--backend/x11/backend.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/backend/x11/backend.c b/backend/x11/backend.c
index 6db9aa6c..ae20559c 100644
--- a/backend/x11/backend.c
+++ b/backend/x11/backend.c
@@ -354,6 +354,7 @@ static bool query_formats(struct wlr_x11_backend *x11) {
}
if (x11->have_dri3) {
+ // X11 always supports implicit modifiers
wlr_drm_format_set_add(&x11->dri3_formats, format->drm,
DRM_FORMAT_MOD_INVALID);
if (!query_dri3_modifiers(x11, format)) {