i am trying to make my app orientation independent. when i do that both the marmalade as well as cocos2d-x work on my app to get it half black.
if the app is stated in portrait mode, and if there is no change in orientation the app looks perfect.(same applies to landscape)
but, if orientation is changed while the app is running, it gives half black screen with no buttons working.
and if we tilt it back to original orientation, then it again looks perfect.
i added this code to ccapplication_marmalade.cpp’s while loop.
seems as if app is totally ignoring my code.
i tried break points. those lines are being compiled continually.