cocos2d/cocos2d-x — Issue #620: modify template msvc AppDelegate
Author: dan-mendes
Created: 2011-12-14 19:40:56+00:00
State: open

Add This check so that Hybrid Android Projects are not rendered rotated 90º as per forum post http://www.cocos2d-x.org/boards/6/topics/6019

//Android does not need setup. It uses XML
#if (CC_TARGET_PLATFORM == CC_PLATFORM_WIN32)
pDirector->setDeviceOrientation(kCCDeviceOrientationLandscapeLeft);
#endif // CC_PLATFORM_WIN32