Merge pull request #6748 from minggo/template-fix

use RGBA8 as default pixel format
This commit is contained in:
minggo 2014-05-15 10:01:36 +08:00
commit 25ffb997f5
1 changed files with 1 additions and 1 deletions

View File

@ -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