mirror of
https://github.com/mpv-player/mpv
synced 2024-12-23 15:22:09 +00:00
vo_opengl: flip image if backend uses flipped rendering
Should fix #2635 (untested).
This commit is contained in:
parent
fb8285c7a7
commit
504286b006
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user