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.
dev
Ander Conselvan de Oliveira 11 years ago committed by Kristian Høgsberg
parent 0f0a6ffc2e
commit 41a50ea71c
  1. 2
      src/gl-renderer.c

@ -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;

Loading…
Cancel
Save