Please help, how to init the framework with Portrait mode?

Topics: Windows Phone 7
Sep 2, 2013 at 9:16 PM
I have tried : CCDrawManager.InitializeDisplay(game, graphics,DisplayOrientation.Portrait) in but it crashed.
    public class AppDelegate : CCApplication
        public AppDelegate(Game game, GraphicsDeviceManager graphics)
            : base(game, graphics)
            s_pSharedApplication = this;
            CCDrawManager.InitializeDisplay(game, graphics, DisplayOrientation.Portrait | DisplayOrientation.LandscapeLeft);
            game.Window.AllowUserResizing = true;
            graphics.PreferMultiSampling = false;
I want my game runs only with Portrait mode, what is the proper way? pls help, thanks
Sep 4, 2013 at 12:29 AM
Crash - can you post an exception and stack trace?

What platform are you on?