diff options
author | Simon Ser <contact@emersion.fr> | 2021-03-31 16:50:17 +0200 |
---|---|---|
committer | Simon Zeni <simon@bl4ckb0ne.ca> | 2021-10-01 09:21:50 -0600 |
commit | 833437d5921339f2862ccfb0493617630ea3937d (patch) | |
tree | 1e42c9eeb72a7e2af478c8db73824968b2b0c109 /include/render | |
parent | 744a5c2fefc08980a3a4755ee8fc631a2f321736 (diff) |
render/drm_format_set: add wlr_drm_format_has
Diffstat (limited to 'include/render')
-rw-r--r-- | include/render/drm_format_set.h | 1 |
1 files changed, 1 insertions, 0 deletions
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 <wlr/render/drm_format_set.h> 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); /** |