mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-12-16 08:56:26 -05:00
Require INVALID for implicit format modifiers
See [1] for the motivation. [1]: https://gitlab.freedesktop.org/wayland/wayland-protocols/-/merge_requests/75
This commit is contained in:
parent
d78cb808b1
commit
affe9eda57
7 changed files with 43 additions and 47 deletions
|
|
@ -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)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue