Device rotation trouble (Windows 8 RT)

Hello,
I added xaml support to cocos2d-x render.
Application works in portrait mode, but when it is launched from landscape mode application changes the visual state to portrait and trying to render in portrait but render works incorrectly.
Would you mind to help to find a solution of this problem?


DirectXRender.cpp.zip (7.8 KB)


DirectXRender.h.zip (2.0 KB)

Vitaliy Bogudskiy wrote:

Hello,
I added xaml support to cocos2d-x render.
Application works in portrait mode, but when it is launched from landscape mode application changes the visual state to portrait and trying to render in portrait but render works incorrectly.
Would you mind to help to find a solution of this problem?

I have used the same cocos2dx repository with XAML support and i am also stuck at this same problem. I have successfully ported my game to windows 8 that is in landscape. Now I am porting my another game in portrait mode by which all my sprites render incorrectly. Were you able to find a fix out of it. This link describes that it has not been done yet http://www.cocos2d-x.org/boards/6/topics/14487