From 300bd80772b7fc916275a04dd9c65a44a3c73741 Mon Sep 17 00:00:00 2001 From: Alexander Orzechowski Date: Thu, 11 May 2023 03:53:11 -0400 Subject: wlr_drm_format_set: Store formats on array --- backend/drm/libliftoff.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'backend/drm/libliftoff.c') 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]); -- cgit v1.2.3