summaryrefslogtreecommitdiffstats
path: root/src/gbm/backends
diff options
context:
space:
mode:
authorEric Engestrom <[email protected]>2019-02-12 16:12:16 +0000
committerEric Engestrom <[email protected]>2019-02-14 11:20:00 +0000
commit2fa165e757b917d3818aec73d64f742570ccb78b (patch)
treefa74fb073a311ae7e661169d94697f5b1c75988e /src/gbm/backends
parentf1374805a86d0d506557e61efbc09e23caa7a038 (diff)
gbm: drop duplicate #defines
Signed-off-by: Eric Engestrom <[email protected]> Reviewed-by: Kristian H. Kristensen <[email protected]>
Diffstat (limited to 'src/gbm/backends')
-rw-r--r--src/gbm/backends/dri/gbm_dri.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/gbm/backends/dri/gbm_dri.c b/src/gbm/backends/dri/gbm_dri.c
index 2a6d87ac99d..37f7d1a97c0 100644
--- a/src/gbm/backends/dri/gbm_dri.c
+++ b/src/gbm/backends/dri/gbm_dri.c
@@ -56,14 +56,6 @@
#include "wayland-drm.h"
#endif
-#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
-
static __DRIimage *
dri_lookup_egl_image(__DRIscreen *screen, void *image, void *data)
{