aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAlexander Orzechowski <alex@ozal.ski>2023-05-10 16:02:07 -0400
committerAlexander Orzechowski <alex@ozal.ski>2023-05-11 03:51:01 -0400
commitb45396c790277f3527425bf60c9f27718edf25c8 (patch)
tree07eedbfbccd2469f2cf50b5476c47bc741e66dce /include
parente353c5c63175c6b3abcbf588aa29285d09817fa4 (diff)
wlr_drm_format: Introduce drm_format_finish
Diffstat (limited to 'include')
-rw-r--r--include/wlr/render/drm_format_set.h5
1 files changed, 5 insertions, 0 deletions
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
@@ -26,6 +26,11 @@ struct wlr_drm_format {
};
/**
+ * 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.
*
* This is used to describe the supported format + modifier combinations. For