summaryrefslogtreecommitdiffstats
path: root/video/out/gl_video_shaders.glsl
diff options
context:
space:
mode:
Diffstat (limited to 'video/out/gl_video_shaders.glsl')
-rw-r--r--video/out/gl_video_shaders.glsl5
1 files changed, 0 insertions, 5 deletions
diff --git a/video/out/gl_video_shaders.glsl b/video/out/gl_video_shaders.glsl
index 2f2986c9fa..51c444aa2e 100644
--- a/video/out/gl_video_shaders.glsl
+++ b/video/out/gl_video_shaders.glsl
@@ -381,11 +381,6 @@ void main() {
#endif
vec3 color = acolor.rgb;
float alpha = acolor.a;
-#ifdef USE_YGRAY
- // NOTE: actually slightly wrong for 16 bit input video, and completely
- // wrong for 9/10 bit input
- color.gb = vec2(128.0/255.0);
-#endif
#ifdef USE_INPUT_GAMMA
// Pre-colormatrix input gamma correction (eg. for MP_IMGFLAG_XYZ)
color = pow(color, vec3(input_gamma));