Commit d3cf9b24 authored by Lukasz Marek's avatar Lukasz Marek

lavd/opengl_enc_shaders: fix gray* shader

Signed-off-by: 's avatarLukasz Marek <lukasz.m.luki@gmail.com>
parent 05e9e334
......@@ -181,7 +181,7 @@ static const char * const FF_OPENGL_FRAGMENT_SHADER_GRAY =
"varying vec2 texture_coordinate;"
"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);"
"}";
......
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