From 340700cb7085aff743f929845604ef95feb5820e Mon Sep 17 00:00:00 2001 From: Alexander Orzechowski Date: Wed, 10 May 2023 16:00:22 -0400 Subject: wlr_drm_format: Change wlr_drm_format_dup to copy --- include/render/drm_format_set.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/render') diff --git a/include/render/drm_format_set.h b/include/render/drm_format_set.h index 8734ea7a..1ffc2a90 100644 --- a/include/render/drm_format_set.h +++ b/include/render/drm_format_set.h @@ -6,7 +6,7 @@ void wlr_drm_format_init(struct wlr_drm_format *fmt, 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, uint64_t modifier); -struct wlr_drm_format *wlr_drm_format_dup(const struct wlr_drm_format *format); +bool wlr_drm_format_copy(struct wlr_drm_format *dst, const struct wlr_drm_format *src); /** * Intersect modifiers for two DRM formats. * -- cgit v1.2.3