Fixed launcher

This commit is contained in:
Regalis
2017-03-09 20:07:25 +02:00
parent be72a04d90
commit 38cd5d5a08

View File

@@ -93,12 +93,13 @@ namespace Launcher2
TextureLoader.Init(GraphicsDevice);
GUI.GraphicsDevice = GraphicsDevice;
GUI.Init(Content);
// Create a new SpriteBatch, which can be used to draw textures.
spriteBatch = new SpriteBatch(GraphicsDevice);
GUI.LoadContent(GraphicsDevice, false);
GUI.LoadContent(false);
backgroundTexture = TextureLoader.FromFile("Content/UI/titleBackground.png");
titleTexture = TextureLoader.FromFile("Content/UI/titleText.png");