Commit efdfdd4c authored by Thomas Guillem's avatar Thomas Guillem

vout: ios: use vout_helper Viewport function

parent 6023de82
......@@ -605,7 +605,7 @@ static void GLESSwap(vlc_gl_t *gl)
vout_display_opengl_SetWindowAspectRatio(glsys->vgl, (float)place.width / place.height);
// x / y are top left corner, but we need the lower left one
glViewport(_place.x, _place.y, _place.width, _place.height);
vout_display_opengl_Viewport(glsys->vgl, _place.x, _place.y, _place.width, _place.height);
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