summaryrefslogtreecommitdiffstats
path: root/libvo/vo_opengl_shaders.glsl
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2012-11-01 02:12:47 +0100
committerwm4 <wm4@nowhere>2012-11-01 02:12:47 +0100
commit84829a4ea1903e5db5782b72861fabc503a589cb (patch)
tree26b4acbaf6dd4b255278dcc67f28bd83357c3b86 /libvo/vo_opengl_shaders.glsl
parente45dd051c304dec189d0d4d792a89c2988c3fa71 (diff)
parentf4069259cf7ffd24ac2a5b64e26a386185e94c7b (diff)
downloadmpv-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.glsl7
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