mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-09 03:38:03 +02:00
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:
parent
e91eccd709
commit
413e471fb1
1 changed files with 0 additions and 5 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue