Commit 050f6b91 authored by Steve Lhomme's avatar Steve Lhomme Committed by Thomas Guillem

opengl: add documentation for the shader programs

Signed-off-by: Thomas Guillem's avatarThomas Guillem <>
parent 09b208c2
......@@ -657,11 +657,13 @@ vout_display_opengl_t *vout_display_opengl_New(video_format_t *fmt,
/* YUV/XYZ & Vertex shaders */
vgl->program[0] = vgl->CreateProgram();
vgl->AttachShader(vgl->program[0], vgl->shader[0]);
vgl->AttachShader(vgl->program[0], vgl->shader[2]);
/* RGA & Vertex shaders */
vgl->program[1] = vgl->CreateProgram();
vgl->AttachShader(vgl->program[1], vgl->shader[1]);
vgl->AttachShader(vgl->program[1], vgl->shader[2]);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment