lavd/opengl_enc_shaders: fix gray* shader

Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com>
pull/58/head
Lukasz Marek 11 years ago
parent 05e9e3342f
commit d3cf9b24cf
  1. 2
      libavdevice/opengl_enc_shaders.h

@ -181,7 +181,7 @@ static const char * const FF_OPENGL_FRAGMENT_SHADER_GRAY =
"varying vec2 texture_coordinate;" "varying vec2 texture_coordinate;"
"void main()" "void main()"
"{" "{"
"float c = texture2D(u_texture0, texture_coordinate);" "float c = texture2D(u_texture0, texture_coordinate).r;"
"gl_FragColor = vec4(c, c, c, 1.0);" "gl_FragColor = vec4(c, c, c, 1.0);"
"}"; "}";

Loading…
Cancel
Save