mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-24 13:56:33 +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;"
|
"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…
x
Reference in New Issue
Block a user