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 committed by Diogo Franco (Kovensky)
parent 74c2146092
commit 9e6091a5b1
1 changed files with 1 additions and 0 deletions

View File

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