Thanks for catching the issue, and depth test is disabled in
va_glx_impl.c, so we can
remove the requirement on depth buffer.

Thanks
Haihao

> Window depth was confused with OpenGL depth buffer.
> 
> 
> Signed-off-by: Rinat <ibragimovri...@mail.ru>
> ---
>  va/glx/va_glx_impl.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/va/glx/va_glx_impl.c b/va/glx/va_glx_impl.c
> index 5299589..e181c9a 100644
> --- a/va/glx/va_glx_impl.c
> +++ b/va/glx/va_glx_impl.c
> @@ -504,7 +504,6 @@ static int create_tfp_surface(VADriverContextP ctx, 
> VASurfaceGLXP pSurfaceGLX)
>      };
>      for (attrib = fbconfig_attrs; *attrib != GL_NONE; attrib += 2)
>          ;
> -    *attrib++ = GLX_DEPTH_SIZE;                 *attrib++ = wattr.depth;
>      if (wattr.depth == 32) {
>      *attrib++ = GLX_ALPHA_SIZE;                 *attrib++ = 8;
>      *attrib++ = GLX_BIND_TO_TEXTURE_RGBA_EXT;   *attrib++ = GL_TRUE;


_______________________________________________
Libva mailing list
Libva@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libva

Reply via email to