diff options
author | wm4 <wm4@nowhere> | 2012-11-01 02:12:47 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2012-11-01 02:12:47 +0100 |
commit | 84829a4ea1903e5db5782b72861fabc503a589cb (patch) | |
tree | 26b4acbaf6dd4b255278dcc67f28bd83357c3b86 /libvo/vo_opengl_shaders.glsl | |
parent | e45dd051c304dec189d0d4d792a89c2988c3fa71 (diff) | |
parent | f4069259cf7ffd24ac2a5b64e26a386185e94c7b (diff) | |
download | mpv-84829a4ea1903e5db5782b72861fabc503a589cb.tar.bz2 mpv-84829a4ea1903e5db5782b72861fabc503a589cb.tar.xz |
Merge branch 'osd_changes' into master
Conflicts:
DOCS/man/en/options.rst
Diffstat (limited to 'libvo/vo_opengl_shaders.glsl')
-rw-r--r-- | libvo/vo_opengl_shaders.glsl | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/libvo/vo_opengl_shaders.glsl b/libvo/vo_opengl_shaders.glsl index 207b44b4ba..01e1433f7f 100644 --- a/libvo/vo_opengl_shaders.glsl +++ b/libvo/vo_opengl_shaders.glsl @@ -67,7 +67,7 @@ void main() { texcoord = vertex_texcoord; } -#!section frag_eosd +#!section frag_osd_libass uniform sampler2D textures[3]; in vec2 texcoord; @@ -78,15 +78,14 @@ void main() { out_color = vec4(color.rgb, color.a * texture(textures[0], texcoord).r); } -#!section frag_osd +#!section frag_osd_rgba uniform sampler2D textures[3]; in vec2 texcoord; -in vec4 color; DECLARE_FRAGPARMS void main() { - out_color = texture(textures[0], texcoord).rrrg * color; + out_color = texture(textures[0], texcoord); } #!section frag_video |