diff options
Diffstat (limited to 'video/out/vo_opengl.c')
-rw-r--r-- | video/out/vo_opengl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/video/out/vo_opengl.c b/video/out/vo_opengl.c index 4e1b1a53ea..0c35ca3ee0 100644 --- a/video/out/vo_opengl.c +++ b/video/out/vo_opengl.c @@ -225,12 +225,12 @@ static int reconfig(struct vo *vo, struct mp_image_params *params, int flags) p->glctx->register_resize_callback(vo, video_resize_redraw_callback); } + resize(p); + gl_video_config(p->renderer, params); p->vo_flipped = !!(flags & VOFLAG_FLIPPING); - resize(p); - mpgl_unlock(p->glctx); return 0; |