Merge pull request #397 from minggo/master

fix a bug of orientation
This commit is contained in:
minggo 2011-07-13 00:36:52 -07:00
commit 692d8450c2
1 changed files with 1 additions and 1 deletions

View File

@ -113,7 +113,7 @@ static TestScene* CreateTestScene(int nIdx)
TestController::TestController()
: m_tBeginPos(CCPointZero)
{
CCDirector::sharedDirector()->setDeviceOrientation(CCDeviceOrientationPortrait);
//CCDirector::sharedDirector()->setDeviceOrientation(CCDeviceOrientationPortrait);
// add close menu
CCMenuItemImage *pCloseItem = CCMenuItemImage::itemFromNormalImage(s_pPathClose, s_pPathClose, this, menu_selector(TestController::closeCallback) );