wlr_drm_format: Make structure constant length

Don't store modifiers as part of the struct.
This commit is contained in:
Alexander Orzechowski 2023-05-10 16:18:44 -04:00
parent 84d07e7119
commit e6879616e7
2 changed files with 48 additions and 28 deletions

View file

@ -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;
};
/**