gl-renderer: Don't hard-stop if debugging scopes aren't enabled

We might not want to enable these scopes always so don't limit
the GL-renderer availability based if these are enabled or not.

Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
This commit is contained in:
Marius Vlad 2025-03-11 15:58:53 +02:00
parent e91eccd709
commit 413e471fb1

View file

@ -4616,12 +4616,7 @@ gl_renderer_display_create(struct weston_compositor *ec,
gr->renderer_scope = weston_compositor_add_log_scope(ec, "gl-renderer",
"GL-renderer verbose messages\n", NULL, NULL, gr);
if (!gr->renderer_scope)
goto fail;
gr->shader_scope = gl_shader_scope_create(gr);
if (!gr->shader_scope)
goto fail;
if (gl_renderer_setup_egl_client_extensions(gr) < 0)
goto fail;