protected override bool BeginDraw() { GraphicsDevice.SetRenderTarget(backBuffer); GraphicsDevice.Clear(Color.Black); spriteBatch.Begin(); screenLoader.Draw(spriteBatch); windowHandler.Draw(spriteBatch); spriteBatch.End(); return(base.BeginDraw()); }
protected override bool BeginDraw() { GraphicsDevice.SetRenderTarget(backBuffer); GraphicsDevice.Clear(Color.Black); spriteBatch.Begin(); screenLoader.Draw(spriteBatch); windowHandler.Draw(spriteBatch); spriteBatch.End(); return(base.BeginDraw()); }