diff options
| author | Kristian Høgsberg <krh@bitplanet.net> | 2010-06-14 21:03:11 -0400 |
|---|---|---|
| committer | Kristian Høgsberg <krh@bitplanet.net> | 2010-06-14 21:03:11 -0400 |
| commit | a946821b4fa9e6ebf380aa3f2ca76ca5e48bd27a (patch) | |
| tree | e00f44bc067fc3ae0876a6ddc2a63828a0b7313d /compositor-drm.c | |
| parent | Implement resizing from all sides (diff) | |
| download | wayland-a946821b4fa9e6ebf380aa3f2ca76ca5e48bd27a.tar wayland-a946821b4fa9e6ebf380aa3f2ca76ca5e48bd27a.tar.gz wayland-a946821b4fa9e6ebf380aa3f2ca76ca5e48bd27a.tar.bz2 wayland-a946821b4fa9e6ebf380aa3f2ca76ca5e48bd27a.tar.lz wayland-a946821b4fa9e6ebf380aa3f2ca76ca5e48bd27a.tar.xz wayland-a946821b4fa9e6ebf380aa3f2ca76ca5e48bd27a.tar.zst wayland-a946821b4fa9e6ebf380aa3f2ca76ca5e48bd27a.zip | |
Propagate shader compile/link errors
And silence the no-error case.
Diffstat (limited to 'compositor-drm.c')
| -rw-r--r-- | compositor-drm.c | 3 |
1 files changed, 2 insertions, 1 deletions
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 @@ 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); |
