summaryrefslogtreecommitdiff
path: root/src/unittests/utils/itemxmlutils.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/unittests/utils/itemxmlutils.cc')
-rw-r--r--src/unittests/utils/itemxmlutils.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/unittests/utils/itemxmlutils.cc b/src/unittests/utils/itemxmlutils.cc
index 54c112bbc..8572d3ca5 100644
--- a/src/unittests/utils/itemxmlutils.cc
+++ b/src/unittests/utils/itemxmlutils.cc
@@ -72,11 +72,11 @@ TEST_CASE("itemxmlutils readItemStatsString 1", "")
#ifdef USE_SDL2
SDLImageHelper::setRenderer(graphicsManager.createRenderer(
- graphicsManager.createWindow(640, 480, 0,
+ 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);
+ GraphicsManager::createWindow(640, 480, 0, SDL_ANYFORMAT | SDL_SWSURFACE);
#endif // USE_SDL2
userPalette = new UserPalette;
@@ -242,11 +242,11 @@ TEST_CASE("itemxmlutils readItemStatsVector 1", "")
#ifdef USE_SDL2
SDLImageHelper::setRenderer(graphicsManager.createRenderer(
- graphicsManager.createWindow(640, 480, 0,
+ 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);
+ GraphicsManager::createWindow(640, 480, 0, SDL_ANYFORMAT | SDL_SWSURFACE);
#endif // USE_SDL2
userPalette = new UserPalette;