mirror of https://github.com/mpv-player/mpv
vo_opengl: fix crash by coping temporal_dither_period for dumb mode too
Specifically, this field must never be 0 (and the option can naturally not be 0 in any way, unless it wasn't initialized correctly).
This commit is contained in:
parent
51518ddcf6
commit
4d1eab6e55
|
@ -3070,6 +3070,7 @@ static void check_gl_features(struct gl_video *p)
|
|||
.dither_depth = p->opts.dither_depth,
|
||||
.dither_size = p->opts.dither_size,
|
||||
.temporal_dither = p->opts.temporal_dither,
|
||||
.temporal_dither_period = p->opts.temporal_dither_period,
|
||||
.tex_pad_x = p->opts.tex_pad_x,
|
||||
.tex_pad_y = p->opts.tex_pad_y,
|
||||
.target_brightness = p->opts.target_brightness,
|
||||
|
|
Loading…
Reference in New Issue