X-Git-Url: https://git.r.bdr.sh/rbdr/super-polarity/blobdiff_plain/63419029fbda7d3f2f3d5984c3d2c77f341dbd79..6fceaa7b34f4d6efc497cda51679b37e530a61aa:/SuperPolarity/SuperPolarity.cs diff --git a/SuperPolarity/SuperPolarity.cs b/SuperPolarity/SuperPolarity.cs index f5ff48e..6b2b9d5 100644 --- a/SuperPolarity/SuperPolarity.cs +++ b/SuperPolarity/SuperPolarity.cs @@ -39,11 +39,6 @@ namespace SuperPolarity graphics = new GraphicsDeviceManager(this); Components.Add(new GamerServicesComponent(this)); - graphics.PreferMultiSampling = true; - graphics.PreferredBackBufferWidth = 1280; - graphics.PreferredBackBufferHeight = 720; - //graphics.ToggleFullScreen(); - Content.RootDirectory = "Content"; ActorFactory.SetGame(this); ParticleEffectFactory.SetGame(this); @@ -63,6 +58,11 @@ namespace SuperPolarity { base.Initialize(); + graphics.PreferMultiSampling = true; + graphics.PreferredBackBufferHeight = 720; + graphics.PreferredBackBufferWidth = 1280; + //graphics.ToggleFullScreen(); + InputController.RegisterEventForKey("fullScreenToggle", Keys.F11); InputController.Bind("fullScreenToggle", HandleFullScreenToggle);