gl-renderer: Fix support for Y_XUXV buffers

Due to a copy and paste error, the pointer to the vertex shader source
was NULL and the program failed to link.
This commit is contained in:
Ander Conselvan de Oliveira 2013-11-27 17:43:51 +02:00 committed by Kristian Høgsberg
parent 0f0a6ffc2e
commit 41a50ea71c

View File

@ -1765,7 +1765,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;