[PATCH] gl-renderer: Fix support for Y_XUXV buffers

Kristian Høgsberg hoegsberg at gmail.com
Wed Nov 27 14:22:46 PST 2013


On Wed, Nov 27, 2013 at 05:43:51PM +0200, Ander Conselvan de Oliveira wrote:
> From: Ander Conselvan de Oliveira <ander.conselvan.de.oliveira at intel.com>
> 
> Due to a copy and paste error, the pointer to the vertex shader source
> was NULL and the program failed to link.

Yikes, thanks Ander.  Patch commmitted.

Kristian

>  src/gl-renderer.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/gl-renderer.c b/src/gl-renderer.c
> index 7a535c7..4942ccd 100644
> --- a/src/gl-renderer.c
> +++ b/src/gl-renderer.c
> @@ -1753,7 +1753,7 @@ compile_shaders(struct weston_compositor *ec)
>  	gr->texture_shader_y_u_v.fragment_source =
>  		texture_fragment_shader_y_u_v;
>  
> -	gr->texture_shader_y_u_v.vertex_source = vertex_shader;
> +	gr->texture_shader_y_xuxv.vertex_source = vertex_shader;
>  	gr->texture_shader_y_xuxv.fragment_source =
>  		texture_fragment_shader_y_xuxv;
>  
> -- 
> 1.7.9.5
> 
> _______________________________________________
> wayland-devel mailing list
> wayland-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/wayland-devel


More information about the wayland-devel mailing list