backend/drm: reject DMA-BUFs with flags

master
Simon Ser 6 years ago committed by Drew DeVault
parent 44ba603c0e
commit d1766547bd

@ -924,6 +924,9 @@ static bool drm_connector_attach_buffer(struct wlr_output *output,
return false; return false;
} }
if (attribs.flags != 0) {
return false;
}
if (attribs.width != output->width || attribs.height != output->height) { if (attribs.width != output->width || attribs.height != output->height) {
return false; return false;
} }

Loading…
Cancel
Save