Commit b963ac95 authored by Thomas Guillem's avatar Thomas Guillem

opengl: ios: use vout_display_opengl_Viewport

Refs #19093

(cherry picked from commit 1eee78fa)
Signed-off-by: Thomas Guillem's avatarThomas Guillem <thomas@gllm.fr>
parent fc4f9358
......@@ -332,7 +332,9 @@ static int Control(vout_display_t *vd, int query, va_list ap)
// x / y are top left corner, but we need the lower left one
if (query != VOUT_DISPLAY_CHANGE_DISPLAY_SIZE)
glViewport(place.x, cfg_tmp.display.height - (place.y + place.height), place.width, place.height);
vout_display_opengl_Viewport(sys->vgl, place.x,
cfg_tmp.display.height - (place.y + place.height),
place.width, place.height);
vlc_gl_ReleaseCurrent(sys->gl);
}
return VLC_SUCCESS;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment