From 2dd95490850c9834091c1d679b78a5af6b520890 Mon Sep 17 00:00:00 2001 From: Alexander Orzechowski Date: Wed, 3 May 2023 12:52:11 -0400 Subject: [PATCH] drm_format_set: Mark as unstable This is supposed to be an unstable interface and it was a mistake that this header was not included. --- include/wlr/render/drm_format_set.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/include/wlr/render/drm_format_set.h b/include/wlr/render/drm_format_set.h index d7dfd779..c0192d63 100644 --- a/include/wlr/render/drm_format_set.h +++ b/include/wlr/render/drm_format_set.h @@ -1,3 +1,11 @@ +/* + * This an unstable interface of wlroots. No guarantees are made regarding the + * future consistency of this API. + */ +#ifndef WLR_USE_UNSTABLE +#error "Add -DWLR_USE_UNSTABLE to enable unstable wlroots features" +#endif + #ifndef WLR_RENDER_DRM_FORMAT_SET_H #define WLR_RENDER_DRM_FORMAT_SET_H