]> git.r.bdr.sh - rbdr/super-polarity/blobdiff - SuperPolarity/SuperPolarity.cs
Adds linux project.
[rbdr/super-polarity] / SuperPolarity / SuperPolarity.cs
index f5ff48eb7f8655be759875f699e979ca91a19b44..6b2b9d50b8db03306e52c02ad9397b6b17cd4eaa 100644 (file)
@@ -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);