aboutsummaryrefslogtreecommitdiff
path: root/include/wlr/render
diff options
context:
space:
mode:
authorAlexander Orzechowski <alex@ozal.ski>2023-05-03 12:52:11 -0400
committerSimon Ser <contact@emersion.fr>2023-05-03 19:08:14 +0200
commit2dd95490850c9834091c1d679b78a5af6b520890 (patch)
tree0fe1a8a4134977f7a39a72da3b8edd2dabfe1972 /include/wlr/render
parentcbe887605096330f1e262651d8629e6dc7a6e058 (diff)
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.
Diffstat (limited to 'include/wlr/render')
-rw-r--r--include/wlr/render/drm_format_set.h8
1 files changed, 8 insertions, 0 deletions
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