Commit 6c648e41 authored by Felix Paul Kühne's avatar Felix Paul Kühne
Browse files

vout_ios: use OpenGL ES 2 for rendering

parent d705a6f0
......@@ -333,7 +333,7 @@ static void OpenglSwap(vlc_gl_t *gl)
kEAGLColorFormatRGBA8, kEAGLDrawablePropertyColorFormat,
nil];
_context = [[EAGLContext alloc] initWithAPI:kEAGLRenderingAPIOpenGLES1];
_context = [[EAGLContext alloc] initWithAPI:kEAGLRenderingAPIOpenGLES2];
NSAssert(_context && [EAGLContext setCurrentContext:_context], @"Creating context");
// This shouldn't need to be done on the main thread.
......
Supports Markdown
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