From: Eric Engestrom Date: Tue, 12 Feb 2019 16:12:16 +0000 (+0000) Subject: gbm: drop duplicate #defines X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2fa165e757b917d3818aec73d64f742570ccb78b;p=mesa.git gbm: drop duplicate #defines Signed-off-by: Eric Engestrom Reviewed-by: Kristian H. Kristensen --- 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) {