mirror of https://github.com/axmolengine/axmol.git
use RGBA8 as default pixel format
This commit is contained in:
parent
35b29dd0f3
commit
354566d782
|
@ -45,7 +45,7 @@ static AppDelegate s_sharedApplication;
|
||||||
|
|
||||||
// Init the CCEAGLView
|
// Init the CCEAGLView
|
||||||
CCEAGLView *eaglView = [CCEAGLView viewWithFrame: [window bounds]
|
CCEAGLView *eaglView = [CCEAGLView viewWithFrame: [window bounds]
|
||||||
pixelFormat: kEAGLColorFormatRGB565
|
pixelFormat: kEAGLColorFormatRGBA8
|
||||||
depthFormat: GL_DEPTH24_STENCIL8_OES
|
depthFormat: GL_DEPTH24_STENCIL8_OES
|
||||||
preserveBackbuffer: NO
|
preserveBackbuffer: NO
|
||||||
sharegroup: nil
|
sharegroup: nil
|
||||||
|
|
Loading…
Reference in New Issue