diff options
Diffstat (limited to 'src/unittests/resources/sprite/animatedsprite.cc')
-rw-r--r-- | src/unittests/resources/sprite/animatedsprite.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/unittests/resources/sprite/animatedsprite.cc b/src/unittests/resources/sprite/animatedsprite.cc index a48c21baa..0dab6d9cd 100644 --- a/src/unittests/resources/sprite/animatedsprite.cc +++ b/src/unittests/resources/sprite/animatedsprite.cc @@ -78,9 +78,6 @@ TEST_CASE("AnimatedSprite tests", "animatedsprite") graphicsManager.createWindow(640, 480, 0, SDL_ANYFORMAT | SDL_SWSURFACE); #endif // USE_SDL2 - theme = new Theme; - Theme::selectSkin(); - Dirs::initRootDir(); Dirs::initHomeDir(); @@ -88,6 +85,9 @@ TEST_CASE("AnimatedSprite tests", "animatedsprite") setConfigDefaults2(config); setBrandingDefaults(branding); + theme = new Theme; + Theme::selectSkin(); + ActorSprite::load(); gui = new Gui(); gui->postInit(mainGraphics); |