diff options
author | Alexander Orzechowski <alex@ozal.ski> | 2023-05-10 16:18:44 -0400 |
---|---|---|
committer | Alexander Orzechowski <alex@ozal.ski> | 2023-05-11 03:51:01 -0400 |
commit | e6879616e731e6bc2109fbe50610c8c606e8228a (patch) | |
tree | 0a0bfd52fb391cb6eeca8d6bf21e0d7ec45bfc5c /include | |
parent | 84d07e711997e6842882d0751c319bf215faeac1 (diff) |
wlr_drm_format: Make structure constant length
Don't store modifiers as part of the struct.
Diffstat (limited to 'include')
-rw-r--r-- | include/wlr/render/drm_format_set.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/wlr/render/drm_format_set.h b/include/wlr/render/drm_format_set.h index 364a3c8d..8ae930be 100644 --- a/include/wlr/render/drm_format_set.h +++ b/include/wlr/render/drm_format_set.h @@ -22,7 +22,7 @@ struct wlr_drm_format { // The capacity of the array; do not use. size_t capacity; // The actual modifiers - uint64_t modifiers[]; + uint64_t *modifiers; }; /** |