diff options
author | Andrei Karas <akaras@inbox.ru> | 2019-10-16 05:59:42 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2019-10-16 05:59:42 +0300 |
commit | 1e62e24155ec46938338c5f94c6df02013140ef4 (patch) | |
tree | 975fa474b0a4e47417e2b0f483999230f3b2e365 | |
parent | 0a216e5d9a7f8965193d3999e2da7dcf87a9d555 (diff) | |
download | manaverse-1e62e24155ec46938338c5f94c6df02013140ef4.tar.gz manaverse-1e62e24155ec46938338c5f94c6df02013140ef4.tar.bz2 manaverse-1e62e24155ec46938338c5f94c6df02013140ef4.tar.xz manaverse-1e62e24155ec46938338c5f94c6df02013140ef4.zip |
Remove extra #ifdef from sdlimagehelper.cc [ci skip]
-rw-r--r-- | src/unittests/resources/sdlimagehelper.cc | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/unittests/resources/sdlimagehelper.cc b/src/unittests/resources/sdlimagehelper.cc index 67aaa384b..a115f7a8b 100644 --- a/src/unittests/resources/sdlimagehelper.cc +++ b/src/unittests/resources/sdlimagehelper.cc @@ -87,14 +87,7 @@ TEST_CASE("sdlimagehelper combineSurface", "") setBrandingDefaults(branding); ConfigManager::initConfiguration(); -#ifdef USE_SDL2 - SDLImageHelper::setRenderer(graphicsManager.createRenderer( - GraphicsManager::createWindow(640, 480, 0, - SDL_WINDOW_SHOWN | SDL_SWSURFACE), SDL_RENDERER_SOFTWARE)); -#else // USE_SDL2 - GraphicsManager::createWindow(640, 480, 0, SDL_ANYFORMAT | SDL_SWSURFACE); -#endif // USE_SDL2 userPalette = new UserPalette; |