From 53798b6465718f6746b2a7adf3e68b12d00a6639 Mon Sep 17 00:00:00 2001 From: wm4 Date: Wed, 5 Oct 2016 20:35:00 +0200 Subject: vo_opengl: apply --opengl-early-flush in dumb mode too In "dumb mode" (where most features are disabled and which only performs some basic rendering) we explicitly copy a set of whitelisted options, and leave all the other options at their default values. Add the new --opengl-early-flush option to this whitelist. Also remove an option field accidentally added in the commit adding --opengl-early-flush. --- video/out/opengl/video.c | 1 + video/out/opengl/video.h | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/video/out/opengl/video.c b/video/out/opengl/video.c index 9be12dee21..9461153615 100644 --- a/video/out/opengl/video.c +++ b/video/out/opengl/video.c @@ -3119,6 +3119,7 @@ static void check_gl_features(struct gl_video *p) .target_brightness = p->opts.target_brightness, .hdr_tone_mapping = p->opts.hdr_tone_mapping, .tone_mapping_param = p->opts.tone_mapping_param, + .early_flush = p->opts.early_flush, }; for (int n = 0; n < SCALER_COUNT; n++) p->opts.scaler[n] = gl_video_opts_def.scaler[n]; diff --git a/video/out/opengl/video.h b/video/out/opengl/video.h index e7ece85138..5011af83d1 100644 --- a/video/out/opengl/video.h +++ b/video/out/opengl/video.h @@ -133,7 +133,6 @@ struct gl_video_opts { int tex_pad_x, tex_pad_y; struct mp_icc_opts *icc_opts; int early_flush; - int use_overlay; }; extern const struct m_sub_options gl_video_conf; -- cgit v1.2.3