summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarius Vlad <marius.vlad@collabora.com>2023-07-24 20:24:33 +0300
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2023-08-03 13:50:19 +0000
commit5ec94158612e8ba9aed0de43c9f5f40d6f61f0cd (patch)
tree395f2f857795224de5d209a499424bee610c3ba2
parentf3ae1a25e249ea78ccb75c3125681cc453c92f7f (diff)
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 <marius.vlad@collabora.com> Change-Id: I4a8aeac4ef33e0631c23ae85347fea8a1b36c4de
-rw-r--r--src/compositor.c2
1 files changed, 1 insertions, 1 deletions
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));