aboutsummaryrefslogtreecommitdiff
path: root/backend
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 /backend
parentfeb1b9b1cbcf675a4bb449ce30c50522cb8b09f5 (diff)
Require libdrm >= 2.4.95
Diffstat (limited to 'backend')
-rw-r--r--backend/drm/renderer.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/backend/drm/renderer.c b/backend/drm/renderer.c
index fa235af9..b77a7ce0 100644
--- a/backend/drm/renderer.c
+++ b/backend/drm/renderer.c
@@ -14,10 +14,6 @@
#include "backend/drm/drm.h"
#include "glapi.h"
-#ifndef DRM_FORMAT_MOD_LINEAR
-#define DRM_FORMAT_MOD_LINEAR 0
-#endif
-
bool init_drm_renderer(struct wlr_drm_backend *drm,
struct wlr_drm_renderer *renderer, wlr_renderer_create_func_t create_renderer_func) {
renderer->gbm = gbm_create_device(drm->fd);