Hi John,

Thanks, committed to gh next.

- Scott

On Sat, Mar 2, 2013 at 4:27 AM, John Kåre Alsaker
<[email protected]> wrote:
> ---
>  src/compositor-drm.c | 3 +++
>  1 file changed, 3 insertions(+)
>
> diff --git a/src/compositor-drm.c b/src/compositor-drm.c
> index 3c44f7a..f60fce9 100644
> --- a/src/compositor-drm.c
> +++ b/src/compositor-drm.c
> @@ -1174,6 +1174,9 @@ init_egl(struct drm_compositor *ec)
>  {
>         ec->gbm = gbm_create_device(ec->drm.fd);
>
> +       if (!ec->gbm)
> +               return -1;
> +
>         if (gl_renderer_create(&ec->base, ec->gbm, gl_renderer_opaque_attribs,
>                         NULL) < 0) {
>                 gbm_device_destroy(ec->gbm);
> --
> 1.8.1.4
>
> _______________________________________________
> wayland-devel mailing list
> [email protected]
> http://lists.freedesktop.org/mailman/listinfo/wayland-devel
_______________________________________________
wayland-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to