aboutsummaryrefslogtreecommitdiff
path: root/backend
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2019-01-29 13:38:51 -0500
committerGitHub <noreply@github.com>2019-01-29 13:38:51 -0500
commitc6b4153748f8e53363cda87edfea43a432f4a255 (patch)
treef3d655ef0f0a18959f2f567d579f10089f7adf4d /backend
parentfeb1b9b1cbcf675a4bb449ce30c50522cb8b09f5 (diff)
parent75371d2c8845c09e77b97dc91bbd536ccc0eb3ab (diff)
Merge pull request #1510 from emersion/libdrm-version
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);