mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-02 09:01:38 -05:00
wlr_drm_format: Make structure constant length
Don't store modifiers as part of the struct.
This commit is contained in:
parent
84d07e7119
commit
e6879616e7
2 changed files with 48 additions and 28 deletions
|
|
@ -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;
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue