diff options
-rw-r--r-- | video/out/gl_video.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/video/out/gl_video.c b/video/out/gl_video.c index a0f23e9157..27b4fe366d 100644 --- a/video/out/gl_video.c +++ b/video/out/gl_video.c @@ -2390,6 +2390,9 @@ void gl_video_set_options(struct gl_video *p, struct gl_video_opts *opts) p->scalers[n].name = p->opts.scalers[n]; } + if (!p->opts.gamma && p->video_eq.values[MP_CSP_EQ_GAMMA] != 0) + p->opts.gamma = 1.0f; + check_gl_features(p); reinit_rendering(p); } |