From d8b861766c22586cdf50d87b6571fb67821a7bf2 Mon Sep 17 00:00:00 2001 From: Bastian Krause Date: Thu, 6 May 2021 14:09:27 +0200 Subject: [PATCH] backend-drm/state-propose: print format instead of *pixel_format_info address fb->format is *pixel_format_info, whereas fb->format->format is the actual DRM/wl_shm format code we want to see here. Fix the drm_debug() call accordingly. Signed-off-by: Bastian Krause --- libweston/backend-drm/state-propose.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libweston/backend-drm/state-propose.c b/libweston/backend-drm/state-propose.c index 26cc3269..1bf5fc4e 100644 --- a/libweston/backend-drm/state-propose.c +++ b/libweston/backend-drm/state-propose.c @@ -159,7 +159,7 @@ drm_output_plane_has_valid_format(struct drm_plane *plane, drm_output_get_plane_type_name(plane), drm_output_get_plane_type_name(plane), fb->format->drm_format_name, - (unsigned long) fb->format, + (unsigned long) fb->format->format, (unsigned long long) fb->modifier); return false;