protected void LoadGraphicsContent() { this.spriteBatch = new SpriteBatch(this.GraphicsDevice); if (this.NeedsSettingsLocaleActivation) { SettingsLoader.ShouldMultisample = this.GraphicsDevice.Adapter.IsProfileSupported(GraphicsProfile.HiDef); } PostProcessor.init(this.graphics.GraphicsDevice, this.spriteBatch, this.Content); WebRenderer.init(this.graphics.GraphicsDevice); }
protected void LoadGraphicsContent() { spriteBatch = new SpriteBatch(GraphicsDevice); PostProcessor.init(graphics.GraphicsDevice, spriteBatch, Content); WebRenderer.init(graphics.GraphicsDevice); }