diff options
author | Simon Ser <contact@emersion.fr> | 2020-12-08 16:02:44 +0100 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2020-12-08 16:02:44 +0100 |
commit | 29da97c185c60eae5d9eaf743c3895c4dba139f7 (patch) | |
tree | c71c20dfd17ae9119fc289bfc5423895422f9225 /docs | |
parent | e69bbfd0d6a654a0421793bf10cb3cab15e13273 (diff) |
render/drm_format_set: allocate using cap when duplicating
In wlr_drm_format_dup, allocate the new wlr_drm_format using cap instead
of len. This makes it so the cap field is up-to-date and the chunk of
memory isn't too small if we append new modifiers (we don't allow this
yet but might in the future).
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions