mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-23 07:42:51 +00: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