use RGBA8 as default pixel format

This commit is contained in:
minggo 2014-05-15 09:56:26 +08:00
parent 35b29dd0f3
commit 354566d782
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