From 354566d782729a2ce12dfee1853cacb1b8f0ba8d Mon Sep 17 00:00:00 2001 From: minggo Date: Thu, 15 May 2014 09:56:26 +0800 Subject: [PATCH] use RGBA8 as default pixel format --- .../cpp-template-default/proj.ios_mac/ios/AppController.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/cpp-template-default/proj.ios_mac/ios/AppController.mm b/templates/cpp-template-default/proj.ios_mac/ios/AppController.mm index e1e807c39d..94f112f4ca 100644 --- a/templates/cpp-template-default/proj.ios_mac/ios/AppController.mm +++ b/templates/cpp-template-default/proj.ios_mac/ios/AppController.mm @@ -45,7 +45,7 @@ static AppDelegate s_sharedApplication; // Init the CCEAGLView CCEAGLView *eaglView = [CCEAGLView viewWithFrame: [window bounds] - pixelFormat: kEAGLColorFormatRGB565 + pixelFormat: kEAGLColorFormatRGBA8 depthFormat: GL_DEPTH24_STENCIL8_OES preserveBackbuffer: NO sharegroup: nil