On 16.09.2015 17:10, Emil Velikov wrote:
> Otherwise we'll fail miserably later on as we try to use
> glEGLImageTargetTexture2DOES.
> 
> Signed-off-by: Emil Velikov <emil.l.veli...@gmail.com>
> ---
>  glamor/glamor.c | 5 +++++
>  1 file changed, 5 insertions(+)
> 
> diff --git a/glamor/glamor.c b/glamor/glamor.c
> index d4a0236..8178785 100644
> --- a/glamor/glamor.c
> +++ b/glamor/glamor.c
> @@ -545,6 +545,11 @@ glamor_init(ScreenPtr screen, unsigned int flags)
>          }
>      }
>  
> +    if (!epoxy_has_gl_extension("GL_OES_EGL_image")) {
> +        ErrorF("GL_OES_EGL_image not available\n");
> +        goto fail;
> +    }
> +
>      glamor_priv->has_rw_pbo = FALSE;
>      if (glamor_priv->gl_flavor == GLAMOR_GL_DESKTOP)
>          glamor_priv->has_rw_pbo = TRUE;
> 

Reviewed-by: Michel Dänzer <michel.daen...@amd.com>


-- 
Earthling Michel Dänzer               |               http://www.amd.com
Libre software enthusiast             |             Mesa and X developer
_______________________________________________
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to