diff options
-rw-r--r-- | render/drm_format_set.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/render/drm_format_set.c b/render/drm_format_set.c index 5028c1ce..df3efd30 100644 --- a/render/drm_format_set.c +++ b/render/drm_format_set.c @@ -221,6 +221,7 @@ bool wlr_drm_format_set_intersect(struct wlr_drm_format_set *dst, // When the two formats have no common modifier, keep // intersecting the rest of the formats: they may be compatible // with each other + out.formats[out.len] = (struct wlr_drm_format){0}; if (!wlr_drm_format_intersect(&out.formats[out.len], &a->formats[i], &b->formats[j])) { wlr_drm_format_set_finish(&out); |