mirror of https://github.com/mpv-player/mpv
vo_opengl: properly respect dither option if dumb mode is used
When dumb mode is used (the "simple" rendering path), respect the dither options. Options should never be ignored (except in GLESv2 mode); either they should be respected in dumb mode, or they should disable dumb mode. In this case, the former applies.
This commit is contained in:
parent
84bf6aabf0
commit
f8861f681f
|
@ -3041,7 +3041,12 @@ static void check_gl_features(struct gl_video *p)
|
||||||
.alpha_mode = p->opts.alpha_mode,
|
.alpha_mode = p->opts.alpha_mode,
|
||||||
.use_rectangle = p->opts.use_rectangle,
|
.use_rectangle = p->opts.use_rectangle,
|
||||||
.background = p->opts.background,
|
.background = p->opts.background,
|
||||||
.dither_algo = DITHER_NONE,
|
.dither_algo = p->opts.dither_algo,
|
||||||
|
.dither_depth = p->opts.dither_depth,
|
||||||
|
.dither_size = p->opts.dither_size,
|
||||||
|
.temporal_dither = p->opts.temporal_dither,
|
||||||
|
.tex_pad_x = p->opts.tex_pad_x,
|
||||||
|
.tex_pad_y = p->opts.tex_pad_y,
|
||||||
.target_brightness = p->opts.target_brightness,
|
.target_brightness = p->opts.target_brightness,
|
||||||
.hdr_tone_mapping = p->opts.hdr_tone_mapping,
|
.hdr_tone_mapping = p->opts.hdr_tone_mapping,
|
||||||
.tone_mapping_param = p->opts.tone_mapping_param,
|
.tone_mapping_param = p->opts.tone_mapping_param,
|
||||||
|
|
Loading…
Reference in New Issue