mirror of
https://github.com/brl/mutter.git
synced 2024-11-30 03:50:47 -05:00
kms/device: Disable modifiers when !DRM_CAP_ADDFB2_MODIFIERS
Fixes: https://gitlab.gnome.org/GNOME/mutter/-/issues/2210 Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2359>
This commit is contained in:
parent
11e6100226
commit
dd94c448e9
@ -490,6 +490,9 @@ meta_kms_device_new (MetaKms *kms,
|
|||||||
free (device->path);
|
free (device->path);
|
||||||
device->path = data.out_path;
|
device->path = data.out_path;
|
||||||
|
|
||||||
|
if (!device->caps.addfb2_modifiers)
|
||||||
|
device->flags |= META_KMS_DEVICE_FLAG_DISABLE_MODIFIERS;
|
||||||
|
|
||||||
return device;
|
return device;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user