wayland: Remove DRM_FORMAT_MOD_INVALID defines

In both cases we already unconditionally import drm_fourcc.h and all
distros shipping recent Mutter should by now have versions of that file
containing MOD_INVALID.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3065>
This commit is contained in:
Robert Mader 2023-06-10 08:58:45 +02:00 committed by Marge Bot
parent 96778aa8b1
commit efe884a97f
2 changed files with 0 additions and 8 deletions

View File

@ -66,10 +66,6 @@
#include "backends/native/meta-renderer-native.h"
#endif
#ifndef DRM_FORMAT_MOD_INVALID
#define DRM_FORMAT_MOD_INVALID ((1ULL << 56) - 1)
#endif
enum
{
RESOURCE_DESTROYED,

View File

@ -66,10 +66,6 @@
#include "linux-dmabuf-unstable-v1-server-protocol.h"
#ifndef DRM_FORMAT_MOD_INVALID
#define DRM_FORMAT_MOD_INVALID ((1ULL << 56) - 1)
#endif
#define META_WAYLAND_DMA_BUF_MAX_FDS 4
/* Compatible with zwp_linux_dmabuf_feedback_v1.tranche_flags */