From 4b3bbb0c4fc5e7aa09509abb751cff0b55fc11b2 Mon Sep 17 00:00:00 2001 From: Simon Zeni Date: Fri, 2 Dec 2022 11:39:10 -0500 Subject: [PATCH] render/drm_format_set: fill dst in wlr_drm_format_set_copy --- render/drm_format_set.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/render/drm_format_set.c b/render/drm_format_set.c index 3adef0b2..629327c0 100644 --- a/render/drm_format_set.c +++ b/render/drm_format_set.c @@ -162,6 +162,8 @@ bool wlr_drm_format_set_copy(struct wlr_drm_format_set *dst, const struct wlr_dr out.len++; } + *dst = out; + return true; }