gbm: drop duplicate #defines
authorEric Engestrom <eric.engestrom@intel.com>
Tue, 12 Feb 2019 16:12:16 +0000 (16:12 +0000)
committerEric Engestrom <eric@engestrom.ch>
Thu, 14 Feb 2019 11:20:00 +0000 (11:20 +0000)
Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
Reviewed-by: Kristian H. Kristensen <hoegsberg@chromium.org>
src/gbm/backends/dri/gbm_dri.c

index 2a6d87ac99daed0229bf3f5c57ba87f71c0a7733..37f7d1a97c0afb23fe3ec949a71b0ebf814d351d 100644 (file)
 #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)
 {