summaryrefslogtreecommitdiffstats
path: root/video
diff options
context:
space:
mode:
Diffstat (limited to 'video')
-rw-r--r--video/out/vo_opengl_cb.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/video/out/vo_opengl_cb.c b/video/out/vo_opengl_cb.c
index 7785661ff8..a5716627ca 100644
--- a/video/out/vo_opengl_cb.c
+++ b/video/out/vo_opengl_cb.c
@@ -232,6 +232,7 @@ int mpv_opengl_cb_render(struct mpv_opengl_cb_context *ctx, int fbo, int vp[4])
if (ctx->force_update && vo) {
ctx->force_update = false;
ctx->wnd = wnd;
+ ctx->flip = flip;
struct mp_rect src, dst;
struct mp_osd_res osd;