From 38cd5d5a08b62c331cddfbfa76895f1bb35e2db9 Mon Sep 17 00:00:00 2001 From: Regalis Date: Thu, 9 Mar 2017 20:07:25 +0200 Subject: [PATCH] Fixed launcher --- Launcher2/LauncherMain.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Launcher2/LauncherMain.cs b/Launcher2/LauncherMain.cs index ea862f64d..438ae76a5 100644 --- a/Launcher2/LauncherMain.cs +++ b/Launcher2/LauncherMain.cs @@ -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");