summaryrefslogtreecommitdiffstats
path: root/video/out/opengl/video.c
diff options
context:
space:
mode:
Diffstat (limited to 'video/out/opengl/video.c')
-rw-r--r--video/out/opengl/video.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/video/out/opengl/video.c b/video/out/opengl/video.c
index de9fdd2814..6b46c1fb42 100644
--- a/video/out/opengl/video.c
+++ b/video/out/opengl/video.c
@@ -1736,8 +1736,7 @@ static void pass_convert_yuv(struct gl_video *p)
GLSL(color.rgb = color.rgb * color.a + background * (1.0 - color.a);)
} else { // alpha present in image
p->components = 4;
- if (p->gl->fb_premultiplied)
- GLSL(color = vec4(color.rgb * color.a, color.a);)
+ GLSL(color = vec4(color.rgb * color.a, color.a);)
}
}