hyades.Application.SetupGraphicsDeviceManager C# (CSharp) Method

SetupGraphicsDeviceManager() protected method

protected SetupGraphicsDeviceManager ( GraphicsDeviceManager graphics ) : void
graphics GraphicsDeviceManager
return void
        protected void SetupGraphicsDeviceManager(GraphicsDeviceManager graphics)
        {
            if (graphics != null)
            {
                graphics.IsFullScreen = FULLSCREEN;
                graphics.PreferredBackBufferWidth = WIDTH;
                graphics.PreferredBackBufferHeight = HEIGHT;
            }
        }