On Monday, 2017-09-11 13:52:28 +0100, Eric Engestrom wrote:
> weston_check_egl_extension() returns a bool, not a pointer.
> 
> Signed-off-by: Eric Engestrom <[email protected]>

Fixes: ce5b614c80b4dfe8e899 "clients/nested: use weston_check_egl_extension
                             over strstr"
Cc: Emil Velikov <[email protected]>

> ---
>  clients/nested.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/clients/nested.c b/clients/nested.c
> index 173076a6..e9070e9b 100644
> --- a/clients/nested.c
> +++ b/clients/nested.c
> @@ -748,7 +748,7 @@ nested_init_compositor(struct nested *nested)
>  
>       nested->egl_display = display_get_egl_display(nested->display);
>       extensions = eglQueryString(nested->egl_display, EGL_EXTENSIONS);
> -     if (weston_check_egl_extension(extensions, 
> "EGL_WL_bind_wayland_display") == NULL) {
> +     if (!weston_check_egl_extension(extensions, 
> "EGL_WL_bind_wayland_display")) {
>               fprintf(stderr, "no EGL_WL_bind_wayland_display extension\n");
>               return -1;
>       }
> -- 
> Cheers,
>   Eric
> 
_______________________________________________
wayland-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to