[vlc-commits] vout_ios: use OpenGL ES 2 for rendering

Felix Paul Kühne git at videolan.org
Fri Feb 8 21:36:18 CET 2013


vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Fri Feb  8 21:19:05 2013 +0100| [6c648e41cf3abade4732daf9d7cf56989d042e65] | committer: Felix Paul Kühne

vout_ios: use OpenGL ES 2 for rendering

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

 modules/video_output/ios.m |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/video_output/ios.m b/modules/video_output/ios.m
index 2b0948c..6059e57 100644
--- a/modules/video_output/ios.m
+++ b/modules/video_output/ios.m
@@ -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.



More information about the vlc-commits mailing list