From: Marius Vlad Date: Mon, 24 Jul 2023 17:24:33 +0000 (+0300) Subject: compositor: Use the logging context when iterating over scopes X-Git-Tag: 17.90.0~16 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?p=src%2Fagl-compositor.git;a=commitdiff_plain;h=5ec94158612e8ba9aed0de43c9f5f40d6f61f0cd compositor: Use the logging context when iterating over scopes In accordance to the upstream changes refer to the logging context rather than the compositor instance. Depends on https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29064 Bug-AGL: SPEC-4861 Signed-off-by: Marius Vlad Change-Id: I4a8aeac4ef33e0631c23ae85347fea8a1b36c4de --- diff --git a/src/compositor.c b/src/compositor.c index 6cb822b..52f1b18 100644 --- a/src/compositor.c +++ b/src/compositor.c @@ -1862,7 +1862,7 @@ int wet_main(int argc, char *argv[], const struct weston_testsuite_data *test_da weston_log("Printing available debug scopes:\n"); - while ((nscope = weston_log_scopes_iterate(ivi.compositor, nscope))) { + while ((nscope = weston_log_scopes_iterate(log_ctx, nscope))) { weston_log("\tscope name: %s, desc: %s", weston_log_scope_get_name(nscope), weston_log_scope_get_description(nscope));