From 5b995b5de367d308b03de088fd72cd8764d404d1 Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Mon, 29 Apr 2024 13:25:37 +0200 Subject: [PATCH] dmabuf: Add DRM_FORMAT_INVALID to our formats That's gonna be necessary for the next commit. --- gdk/gdkdmabuffourccprivate.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gdk/gdkdmabuffourccprivate.h b/gdk/gdkdmabuffourccprivate.h index 900e163eba..cb50ce1ee9 100644 --- a/gdk/gdkdmabuffourccprivate.h +++ b/gdk/gdkdmabuffourccprivate.h @@ -10,6 +10,10 @@ ((__u32)(c) << 16) | ((__u32)(d) << 24)) #endif +#ifndef DRM_FORMAT_INVALID +#define DRM_FORMAT_INVALID 0 +#endif + #ifndef DRM_FORMAT_C1 #define DRM_FORMAT_C1 fourcc_code('C', '1', ' ', ' ') #endif