aboutsummaryrefslogtreecommitdiff
path: root/backend
diff options
context:
space:
mode:
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);