[vlc-commits] ios2_vout: fix potential texture resizing issue if the UIView changes its shape ( close #11081)

Felix Paul Kühne git at videolan.org
Wed Apr 23 18:47:29 CEST 2014


vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Wed Apr 23 18:46:40 2014 +0200| [26d1937b70a0c9dcf444bf2d7b490d6a43db0a09] | committer: Felix Paul Kühne

ios2_vout: fix potential texture resizing issue if the UIView changes its shape (close #11081)

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=26d1937b70a0c9dcf444bf2d7b490d6a43db0a09
---

 modules/video_output/ios2.m |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/modules/video_output/ios2.m b/modules/video_output/ios2.m
index 3656bfe..46c8aca 100644
--- a/modules/video_output/ios2.m
+++ b/modules/video_output/ios2.m
@@ -460,6 +460,8 @@ static void OpenglESSwap(vlc_gl_t *gl)
 {
     assert([[NSThread currentThread] isMainThread]);
 
+    [EAGLContext setCurrentContext:_eaglContext];
+
     CGRect bounds;
     bounds = [self bounds];
 



More information about the vlc-commits mailing list