[vlc-commits] vout_ios: use a 32bit color scheme

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


vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Fri Feb  8 18:01:55 2013 +0100| [91f7ead257fe27075aa33dc25a44592d06b0cab6] | committer: Felix Paul Kühne

vout_ios: use a 32bit color scheme

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

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

diff --git a/modules/video_output/ios.m b/modules/video_output/ios.m
index 66f9122..2b0948c 100644
--- a/modules/video_output/ios.m
+++ b/modules/video_output/ios.m
@@ -330,8 +330,7 @@ static void OpenglSwap(vlc_gl_t *gl)
 
         eaglLayer.opaque = TRUE;
         eaglLayer.drawableProperties = [NSDictionary dictionaryWithObjectsAndKeys:
-//                                        [NSNumber numberWithBool:FALSE], kEAGLDrawablePropertyRetainedBacking,
-                                        kEAGLColorFormatRGB565, kEAGLDrawablePropertyColorFormat,
+                                        kEAGLColorFormatRGBA8, kEAGLDrawablePropertyColorFormat,
                                         nil];
 
         _context = [[EAGLContext alloc] initWithAPI:kEAGLRenderingAPIOpenGLES1];



More information about the vlc-commits mailing list