mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-02 09:01:38 -05:00
drm_format_set_union: Require initialized dst and remove assert
This commit is contained in:
parent
d7917d2076
commit
1ee75786b4
3 changed files with 4 additions and 7 deletions
|
|
@ -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.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue