summaryrefslogtreecommitdiff
path: root/src/unittests/utils/chatutils.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/unittests/utils/chatutils.cc')
-rw-r--r--src/unittests/utils/chatutils.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/unittests/utils/chatutils.cc b/src/unittests/utils/chatutils.cc
index e3c1dba1a..5e06baaca 100644
--- a/src/unittests/utils/chatutils.cc
+++ b/src/unittests/utils/chatutils.cc
@@ -74,11 +74,11 @@ TEST_CASE("chatutils replaceVars", "")
#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
theme = new Theme;