vo_opengl: copy over HDR parameters to dumb_mode
Since dumb mode is affected by tone mapping (which I'll call a feature, not a bug), we need to copy over the configuration - in particular, the defaults. (To prevent a render failure)
This commit is contained in:
1 file changed
+3
@@ -3063,6 +3063,9 @@ static void check_gl_features(struct gl_video *p)
|
||||
.use_rectangle = p->opts.use_rectangle,
|
||||
.background = p->opts.background,
|
||||
.dither_algo = DITHER_NONE,
|
||||
.target_brightness = p->opts.target_brightness,
|
||||
.hdr_tone_mapping = p->opts.hdr_tone_mapping,
|
||||
.tone_mapping_param = p->opts.tone_mapping_param,
|
||||
};
|
||||
for (int n = 0; n < SCALER_COUNT; n++)
|
||||
new_opts.scaler[n] = gl_video_opts_def.scaler[n];
|
||||
|
||||
Reference in new issue
Block a user