summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--video/out/vo_opengl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/video/out/vo_opengl.c b/video/out/vo_opengl.c
index 612cb79663..1715475823 100644
--- a/video/out/vo_opengl.c
+++ b/video/out/vo_opengl.c
@@ -329,6 +329,8 @@ static int control(struct vo *vo, uint32_t request, void *data)
if (screen) {
screen->params.primaries = p->renderer_opts->target_prim;
screen->params.gamma = p->renderer_opts->target_trc;
+ if (p->glctx->flip_v)
+ mp_image_vflip(screen);
}
*(struct mp_image **)data = screen;
return true;