mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-08 13:22:53 +02:00
lavd/opengl_enc_shaders: fix gray* shader
Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com>
This commit is contained in:
parent
05e9e3342f
commit
d3cf9b24cf
@ -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);"
|
||||
"}";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user