aboutsummaryrefslogtreecommitdiff
path: root/render/dmabuf_fallback.c
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2022-12-01 11:29:30 +0100
committerSimon Zeni <simon@bl4ckb0ne.ca>2022-12-06 14:54:09 +0000
commit30219cf76b0c497783a3d04e1613504468e49dc7 (patch)
tree064f50ddf478021c5901063fc384e4df2eb054f7 /render/dmabuf_fallback.c
parent825f1b2dc6886071939f9b8b9738392cd8966cab (diff)
render/dmabuf: add dmabuf_export_sync_file()
Diffstat (limited to 'render/dmabuf_fallback.c')
-rw-r--r--render/dmabuf_fallback.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/render/dmabuf_fallback.c b/render/dmabuf_fallback.c
index 8cd31384..820d46d5 100644
--- a/render/dmabuf_fallback.c
+++ b/render/dmabuf_fallback.c
@@ -10,3 +10,8 @@ bool dmabuf_import_sync_file(int dmabuf_fd, uint32_t flags, int sync_file_fd) {
wlr_log(WLR_ERROR, "DMA-BUF sync_file import IOCTL not available on this system");
return false;
}
+
+int dmabuf_export_sync_file(int dmabuf_fd, uint32_t flags) {
+ wlr_log(WLR_ERROR, "DMA-BUF sync_file export IOCTL not available on this system");
+ return false;
+}