diff options
author | Alexander Orzechowski <alex@ozal.ski> | 2023-05-04 14:16:34 -0400 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2023-05-04 18:19:33 +0000 |
commit | 1ee75786b40e3cf51428fe1a4fb67e09be163537 (patch) | |
tree | d53fcf945dcec41b553022c44cb41eb1f23a9091 /include/wlr/render | |
parent | d7917d20762f85d58e5d8db7f19aec6be3e9ed56 (diff) |
drm_format_set_union: Require initialized dst and remove assert
Diffstat (limited to 'include/wlr/render')
-rw-r--r-- | include/wlr/render/drm_format_set.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/wlr/render/drm_format_set.h b/include/wlr/render/drm_format_set.h index c0192d63..0a6254e2 100644 --- a/include/wlr/render/drm_format_set.h +++ b/include/wlr/render/drm_format_set.h @@ -82,7 +82,8 @@ bool wlr_drm_format_set_intersect(struct wlr_drm_format_set *dst, /** * Unions DRM format set `a` and `b`, storing in the destination set - * `dst`. + * `dst`. The `dst` must either be zeroed or initialized with other state + * to be replaced. * * Returns false on failure. */ |