aboutsummaryrefslogtreecommitdiff
path: root/backend/x11/output.c
diff options
context:
space:
mode:
Diffstat (limited to 'backend/x11/output.c')
-rw-r--r--backend/x11/output.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/backend/x11/output.c b/backend/x11/output.c
index 3ad7b4a4..76172582 100644
--- a/backend/x11/output.c
+++ b/backend/x11/output.c
@@ -140,10 +140,6 @@ static xcb_pixmap_t import_dmabuf(struct wlr_x11_output *output,
return XCB_PIXMAP_NONE;
}
- if (dmabuf->flags != 0) {
- return XCB_PIXMAP_NONE;
- }
-
// xcb closes the FDs after sending them, so we need to dup them here
struct wlr_dmabuf_attributes dup_attrs = {0};
if (!wlr_dmabuf_attributes_copy(&dup_attrs, dmabuf)) {