mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-11-02 09:01:39 -05: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
|
|
@ -662,7 +662,8 @@ drm_compositor_create(struct wl_display *display)
|
|||
}
|
||||
|
||||
/* Can't init base class until we have a current egl context */
|
||||
wlsc_compositor_init(&ec->base, display);
|
||||
if (wlsc_compositor_init(&ec->base, display) < 0)
|
||||
return NULL;
|
||||
|
||||
if (create_outputs(ec) < 0) {
|
||||
fprintf(stderr, "failed to create output for %s\n", path);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue