diff options
author | Simon Ser <contact@emersion.fr> | 2020-04-14 18:44:40 +0200 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2020-04-22 22:14:44 +0200 |
commit | 01d45062531f8da120343a9ce8d75b12eafcc8da (patch) | |
tree | 1e4c0807c61ca34c2f119e13663903d77cfc7218 /include/wlr/render | |
parent | 455a9bd0efe9e5b10cb2e9a962b5f62b2db474b0 (diff) |
render/drm_format_set: disallow DRM_FORMAT_INVALID
It doesn't make sense to add DRM_FORMAT_INVALID to a format set. Adding
an assertion allows us to safely query the format set with
DRM_FORMAT_INVALID. See [1].
[1]: https://github.com/swaywm/wlroots/pull/2021#discussion_r385839668
Diffstat (limited to 'include/wlr/render')
0 files changed, 0 insertions, 0 deletions