From 833437d5921339f2862ccfb0493617630ea3937d Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Wed, 31 Mar 2021 16:50:17 +0200 Subject: render/drm_format_set: add wlr_drm_format_has --- include/render/drm_format_set.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/render') diff --git a/include/render/drm_format_set.h b/include/render/drm_format_set.h index c438722b..c94c2af2 100644 --- a/include/render/drm_format_set.h +++ b/include/render/drm_format_set.h @@ -4,6 +4,7 @@ #include struct wlr_drm_format *wlr_drm_format_create(uint32_t format); +bool wlr_drm_format_has(const struct wlr_drm_format *fmt, uint64_t modifier); bool wlr_drm_format_add(struct wlr_drm_format **fmt_ptr, uint64_t modifier); struct wlr_drm_format *wlr_drm_format_dup(const struct wlr_drm_format *format); /** -- cgit v1.2.3