Merge pull request #3619 from minggo/develop

[ci skip]set default projection to 3d
This commit is contained in:
minggo 2013-09-16 03:03:01 -07:00
commit 061004901d
1 changed files with 1 additions and 1 deletions

View File

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