diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-10-13 15:12:40 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-13 15:12:40 +0200 |
commit | e4a1560433010903ed1bb442a4e22cf2501d4b86 (patch) | |
tree | b6ebf88e1edae7631ced8d2ed7b36bd5121b10d9 /include/wlr | |
parent | cff471ce3ed2b3ceeb35c0b1c44fbde0a6533445 (diff) | |
parent | affbfb6a28cfb2a5385e8a2e0417137599f06fa0 (diff) |
Merge pull request #1304 from nyorain/dmabuf_v1
Support older wlr_linux_dmabuf_v1 clients
Diffstat (limited to 'include/wlr')
-rw-r--r-- | include/wlr/render/dmabuf.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/wlr/render/dmabuf.h b/include/wlr/render/dmabuf.h index 33c3a129..32cfe874 100644 --- a/include/wlr/render/dmabuf.h +++ b/include/wlr/render/dmabuf.h @@ -16,6 +16,10 @@ #define DRM_FORMAT_MOD_INVALID ((1ULL<<56) - 1) #endif +#ifndef DRM_FORMAT_MOD_LINEAR +#define DRM_FORMAT_MOD_LINEAR 0 +#endif + #define WLR_DMABUF_MAX_PLANES 4 enum wlr_dmabuf_attributes_flags { |