diff options
Diffstat (limited to 'src/unittests/resources/map/speciallayer.cc')
-rw-r--r-- | src/unittests/resources/map/speciallayer.cc | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/unittests/resources/map/speciallayer.cc b/src/unittests/resources/map/speciallayer.cc index f2de1db43..2e72d6e19 100644 --- a/src/unittests/resources/map/speciallayer.cc +++ b/src/unittests/resources/map/speciallayer.cc @@ -56,6 +56,13 @@ TEST_CASE("SpecialLayer updateCache", "") VirtFs::mountDirSilent("../data", Append_false); imageHelper = new SDLImageHelper; + + Dirs::initRootDir(); + Dirs::initHomeDir(); + + setBrandingDefaults(branding); + ConfigManager::initConfiguration(); + #ifdef USE_SDL2 SDLImageHelper::setRenderer(graphicsManager.createRenderer( graphicsManager.createWindow(640, 480, 0, @@ -67,12 +74,6 @@ TEST_CASE("SpecialLayer updateCache", "") userPalette = new UserPalette; - Dirs::initRootDir(); - Dirs::initHomeDir(); - - setBrandingDefaults(branding); - ConfigManager::initConfiguration(); - theme = new Theme; Theme::selectSkin(); |