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
weston_log("Printing available debug scopes:\n");
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));
weston_log("\tscope name: %s, desc: %s",
weston_log_scope_get_name(nscope),
weston_log_scope_get_description(nscope));