mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-01 22:58:38 -04:00
backend/drm: reject DMA-BUFs with flags
This commit is contained in:
parent
44ba603c0e
commit
d1766547bd
1 changed files with 3 additions and 0 deletions
|
|
@ -924,6 +924,9 @@ static bool drm_connector_attach_buffer(struct wlr_output *output,
|
|||
return false;
|
||||
}
|
||||
|
||||
if (attribs.flags != 0) {
|
||||
return false;
|
||||
}
|
||||
if (attribs.width != output->width || attribs.height != output->height) {
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue