vlc/vlc-3.0 | branch: master | Thomas Guillem <tho...@gllm.fr> | Wed Mar  7 
09:46:04 2018 +0100| [3886d49df0f9e1200e117208295ac5593da93a33] | committer: 
Thomas Guillem

vout: ios: use vout_helper Viewport function

(cherry picked from commit efdfdd4ca58654b2f172618492ab197ae671d3a7)
Signed-off-by: Thomas Guillem <tho...@gllm.fr>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=3886d49df0f9e1200e117208295ac5593da93a33
---

 modules/video_output/ios.m | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/video_output/ios.m b/modules/video_output/ios.m
index d024305f20..776624ec44 100644
--- a/modules/video_output/ios.m
+++ b/modules/video_output/ios.m
@@ -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);
         }
     }
 

_______________________________________________
vlc-commits mailing list
vlc-commits@videolan.org
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to