vout: ios: refactor OpenGL context locking
commit697d8b5f4a479f28e94744dc4c751bc3c0932a43
authorThomas Guillem <thomas@gllm.fr>
Thu, 7 Sep 2017 14:09:06 +0000 (7 16:09 +0200)
committerThomas Guillem <thomas@gllm.fr>
Fri, 8 Sep 2017 11:40:50 +0000 (8 13:40 +0200)
treefe72d7c530fea73c2baf93bc5a33b61051acf31a
parentb97ee4785805a0a53ac455b60b3d18d8e4f5eebb
vout: ios: refactor OpenGL context locking

Check if app is active from vlc_gl_MakeCurrent.
Simplify the code since sys->gl can't be NULL.
modules/video_output/ios.m