wlr_drm_format_set: Store formats on array

This commit is contained in:
Alexander Orzechowski 2023-05-11 03:53:11 -04:00 committed by Simon Ser
parent 90d08f8f1c
commit 300bd80772
6 changed files with 37 additions and 53 deletions

View file

@ -54,7 +54,7 @@ struct wlr_drm_format_set {
// The capacity of the array; private to wlroots
size_t capacity;
// A pointer to an array of `struct wlr_drm_format *` of length `len`.
struct wlr_drm_format **formats;
struct wlr_drm_format *formats;
};
/**