Commit 26d1937b authored by Felix Paul Kühne's avatar Felix Paul Kühne

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

parent 972dfc66
...@@ -460,6 +460,8 @@ static void OpenglESSwap(vlc_gl_t *gl) ...@@ -460,6 +460,8 @@ static void OpenglESSwap(vlc_gl_t *gl)
{ {
assert([[NSThread currentThread] isMainThread]); assert([[NSThread currentThread] isMainThread]);
[EAGLContext setCurrentContext:_eaglContext];
CGRect bounds; CGRect bounds;
bounds = [self bounds]; bounds = [self bounds];
......
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