mirror of https://github.com/axmolengine/axmol.git
Merge pull request #6748 from minggo/template-fix
use RGBA8 as default pixel format
This commit is contained in:
commit
25ffb997f5
|
@ -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