mirror of
https://github.com/mpv-player/mpv
synced 2024-11-03 03:19:24 +01:00
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.
This commit is contained in:
parent
d7e587acc9
commit
53798b6465
@ -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];
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user