vo_opengl: guarantee correct reinitialization on setting options

At least the scale_sep_fbo could have been uninitialized or initialized
incorrectly when switching between scalers (e.g. from bilinear to
lanczos). Calling check_resize() should take care of this.
This commit is contained in:
wm4 2015-01-22 19:25:16 +01:00
parent a8f565008b
commit 571fe8f729
1 changed files with 1 additions and 0 deletions

View File

@ -2575,6 +2575,7 @@ void gl_video_set_options(struct gl_video *p, struct gl_video_opts *opts)
check_gl_features(p);
gl_video_set_gl_state(p);
reinit_rendering(p);
check_resize(p);
}
void gl_video_get_colorspace(struct gl_video *p, struct mp_image_params *params)