iOS 360 Video using OpenGL ES 2.0
<p>I have an app that uses OpenGL ES 3.0 to play 360 Videos using a sky sphere implementation. I want to use OpenGL ES 2.0 to support more devices. </p>

<p>In ViewController.swift I create the EAGLContext in the method setupContext() and it works with .OpenGLES3 but when I try to use .OpenGLES2 I only see a black screen. There are no error messages and I am unable to discern what API functions are not supported in OpenGL ES 2.0. </p>

<pre><code>context = EAGLContext(API: .OpenGLES3)
EAGLContext.setCurrentContext(context)
</code></pre>

<p>How can I use OpenGL ES 2.0 to display 360 videos using a sky sphere? The main implementation is in Skysphere.swift. Thanks.</p>

<p>Sample app is found here: <a href="https://github.com/devinshively/TestVideoPlayer" rel="nofollow">https://github.com/devinshively/TestVideoPlayer</a></p>