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-x11.c b/compositor-x11.c index 3cbe0c8..61369fd 100644 --- a/compositor-x11.c +++ b/compositor-x11.c
@@ -644,7 +644,8 @@ 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);