diff options
author | Niklas Haas <git@nand.wakku.to> | 2015-01-07 08:25:22 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-01-07 14:22:17 +0100 |
commit | d66598eeed10175b946fda8c76712714f578bb56 (patch) | |
tree | 2241625d869f4e54c46b36fe69849896b4ae9382 /video/out/gl_video.c | |
parent | a0959582631118078cd39695d023678ff4bfe9f8 (diff) | |
download | mpv-d66598eeed10175b946fda8c76712714f578bb56.tar.bz2 mpv-d66598eeed10175b946fda8c76712714f578bb56.tar.xz |
video: Remove some stale CMS code, minor cosmetics
This removes an old code path that was disabled in 016bb14.
Diffstat (limited to 'video/out/gl_video.c')
-rw-r--r-- | video/out/gl_video.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/video/out/gl_video.c b/video/out/gl_video.c index 12dc4d503a..af9e759f40 100644 --- a/video/out/gl_video.c +++ b/video/out/gl_video.c @@ -1124,10 +1124,7 @@ static void compile_shaders(struct gl_video *p) shader_def_opt(&header_final, "USE_3DLUT", p->use_lut_3d); // 3DLUT overrides SRGB shader_def_opt(&header_final, "USE_SRGB", p->opts.srgb && !p->use_lut_3d); - shader_def_opt(&header_final, "USE_CONST_LUMA_INV_APPROX", - use_const_luma && !use_cms && p->opts.approx_gamma); - shader_def_opt(&header_final, "USE_CONST_LUMA_INV_BT2020", - use_const_luma && !use_cms && !p->opts.approx_gamma); + shader_def_opt(&header_final, "USE_CONST_LUMA_INV", use_const_luma && !use_cms); shader_def_opt(&header_final, "USE_DITHER", p->dither_texture != 0); shader_def_opt(&header_final, "USE_TEMPORAL_DITHER", p->opts.temporal_dither); |