mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2026-03-11 05:34:41 -04:00
Propagate shader compile/link errors
And silence the no-error case.
This commit is contained in:
parent
bf6ceda545
commit
a946821b4f
3 changed files with 28 additions and 10 deletions
|
|
@ -644,7 +644,8 @@ x11_compositor_create(struct wl_display *display)
|
|||
x11_compositor_init_egl(c);
|
||||
|
||||
/* Can't init base class until we have a current egl context */
|
||||
wlsc_compositor_init(&c->base, display);
|
||||
if (wlsc_compositor_init(&c->base, display) < 0)
|
||||
return NULL;
|
||||
|
||||
x11_compositor_create_output(c, 1024, 640);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue