From b45396c790277f3527425bf60c9f27718edf25c8 Mon Sep 17 00:00:00 2001 From: Alexander Orzechowski Date: Wed, 10 May 2023 16:02:07 -0400 Subject: wlr_drm_format: Introduce drm_format_finish --- include/wlr/render/drm_format_set.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include/wlr') diff --git a/include/wlr/render/drm_format_set.h b/include/wlr/render/drm_format_set.h index c8f3c309..90be4990 100644 --- a/include/wlr/render/drm_format_set.h +++ b/include/wlr/render/drm_format_set.h @@ -25,6 +25,11 @@ struct wlr_drm_format { uint64_t modifiers[]; }; +/** + * Free all resources allocated to this DRM format. + */ +void wlr_drm_format_finish(struct wlr_drm_format *format); + /** * A set of DRM formats and modifiers. * -- cgit v1.2.3