summaryrefslogtreecommitdiff
path: root/src/unittests/resources/sdlimagehelper.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/unittests/resources/sdlimagehelper.cc')
-rw-r--r--src/unittests/resources/sdlimagehelper.cc7
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;