public Renderer(PlatformGame game) { this.game = game; graphics = new GraphicsDeviceManager(game); graphics.PreferMultiSampling = false; graphics.SynchronizeWithVerticalRetrace = true; graphics.PreferredBackBufferWidth = Config.ScreenResolutionWidth; graphics.PreferredBackBufferHeight = Config.ScreenResolutionHeight; // WHY: Debugger sucks when in fullscreen graphics.IsFullScreen = !Config.DebugModeEnabled; graphics.ApplyChanges(); ViewArea = new Rectangle(0, 0, Config.ScreenResolutionWidth - 280, Config.ScreenResolutionHeight); }