aboutsummaryrefslogtreecommitdiff
path: root/render/drm_format_set.c
diff options
context:
space:
mode:
authorSimon Zeni <simon@bl4ckb0ne.ca>2022-12-02 11:39:10 -0500
committerSimon Zeni <simon@bl4ckb0ne.ca>2022-12-02 11:47:47 -0500
commit4b3bbb0c4fc5e7aa09509abb751cff0b55fc11b2 (patch)
tree56157fdec75f8535010ccf39ce4113ecdf20d3d6 /render/drm_format_set.c
parent337ef33edcbf8106c0556dda89b088e6b9c3f1d1 (diff)
render/drm_format_set: fill dst in wlr_drm_format_set_copy
Diffstat (limited to 'render/drm_format_set.c')
-rw-r--r--render/drm_format_set.c2
1 files changed, 2 insertions, 0 deletions
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;
}