aboutsummaryrefslogtreecommitdiff
path: root/backend/drm/libliftoff.c
diff options
context:
space:
mode:
authorAlexander Orzechowski <alex@ozal.ski>2023-05-11 03:53:11 -0400
committerSimon Ser <contact@emersion.fr>2023-05-11 18:25:52 +0200
commit300bd80772b7fc916275a04dd9c65a44a3c73741 (patch)
tree65b94c063c5584629cdb29b5440e428d28802234 /backend/drm/libliftoff.c
parent90d08f8f1c40e2a302d62052435ff2abdb08a854 (diff)
wlr_drm_format_set: Store formats on array
Diffstat (limited to 'backend/drm/libliftoff.c')
-rw-r--r--backend/drm/libliftoff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/drm/libliftoff.c b/backend/drm/libliftoff.c
index 550d4533..a6afb1f9 100644
--- a/backend/drm/libliftoff.c
+++ b/backend/drm/libliftoff.c
@@ -265,7 +265,7 @@ static void update_layer_feedback(struct wlr_drm_backend *drm,
}
for (size_t j = 0; j < plane->formats.len; j++) {
- const struct wlr_drm_format *format = plane->formats.formats[j];
+ const struct wlr_drm_format *format = &plane->formats.formats[j];
for (size_t k = 0; k < format->len; k++) {
wlr_drm_format_set_add(&formats, format->format,
format->modifiers[k]);