aboutsummaryrefslogtreecommitdiff
path: root/include/wlr/render
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2019-01-29 19:33:38 +0100
committeremersion <contact@emersion.fr>2019-01-29 19:33:38 +0100
commit75371d2c8845c09e77b97dc91bbd536ccc0eb3ab (patch)
treef3d655ef0f0a18959f2f567d579f10089f7adf4d /include/wlr/render
parentfeb1b9b1cbcf675a4bb449ce30c50522cb8b09f5 (diff)
Require libdrm >= 2.4.95
Diffstat (limited to 'include/wlr/render')
-rw-r--r--include/wlr/render/dmabuf.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/include/wlr/render/dmabuf.h b/include/wlr/render/dmabuf.h
index 32cfe874..1d61da4e 100644
--- a/include/wlr/render/dmabuf.h
+++ b/include/wlr/render/dmabuf.h
@@ -11,15 +11,6 @@
#include <stdint.h>
-// So we don't have to pull in linux specific drm headers
-#ifndef DRM_FORMAT_MOD_INVALID
-#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 {