commit | a946821b4fa9e6ebf380aa3f2ca76ca5e48bd27a | [log] [tgz] |
---|---|---|
author | Kristian Høgsberg <krh@bitplanet.net> | Mon Jun 14 21:03:11 2010 -0400 |
committer | Kristian Høgsberg <krh@bitplanet.net> | Mon Jun 14 21:03:11 2010 -0400 |
tree | e00f44bc067fc3ae0876a6ddc2a63828a0b7313d | |
parent | bf6ceda545f92728a96f3ce8918b2658c84311a4 [diff] [blame] |
Propagate shader compile/link errors And silence the no-error case.
diff --git a/compositor-drm.c b/compositor-drm.c index 608ada9..c45b1d8 100644 --- a/compositor-drm.c +++ b/compositor-drm.c
@@ -662,7 +662,8 @@ } /* 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);