mirror of https://github.com/axmolengine/axmol.git
Merge pull request #3619 from minggo/develop
[ci skip]set default projection to 3d
This commit is contained in:
commit
061004901d
|
@ -186,7 +186,7 @@ void Director::setDefaultValues(void)
|
|||
_displayStats = conf->getBool("cocos2d.x.display_fps", false);
|
||||
|
||||
// GL projection
|
||||
const char *projection = conf->getCString("cocos2d.x.gl.projection", "2d");
|
||||
const char *projection = conf->getCString("cocos2d.x.gl.projection", "3d");
|
||||
if (strcmp(projection, "3d") == 0)
|
||||
_projection = Projection::_3D;
|
||||
else if (strcmp(projection, "2d") == 0)
|
||||
|
|
Loading…
Reference in New Issue