summaryrefslogtreecommitdiff
path: root/src/unittests/sdl.cc
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2019-10-16 01:03:02 +0300
committerAndrei Karas <akaras@inbox.ru>2019-10-16 01:03:02 +0300
commite15da561988948de26c80105dc9762943009b9e7 (patch)
tree717dbdffe08daf6a1832ce79043697d3f7e62a23 /src/unittests/sdl.cc
parent71cfaf012217cf3bbbc39207a12131b748535fcc (diff)
downloadplus-e15da561988948de26c80105dc9762943009b9e7.tar.gz
plus-e15da561988948de26c80105dc9762943009b9e7.tar.bz2
plus-e15da561988948de26c80105dc9762943009b9e7.tar.xz
plus-e15da561988948de26c80105dc9762943009b9e7.zip
Fix code style, ignore some warning in clang-tidy
Diffstat (limited to 'src/unittests/sdl.cc')
-rw-r--r--src/unittests/sdl.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/unittests/sdl.cc b/src/unittests/sdl.cc
index 9869db35f..b9dc74299 100644
--- a/src/unittests/sdl.cc
+++ b/src/unittests/sdl.cc
@@ -79,13 +79,13 @@ TEST_CASE("sdl tests", "sdl")
imageHelper = new SurfaceImageHelper;
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
imageHelper = new SDLImageHelper();
- graphicsManager.createWindow(640, 480, 0, SDL_ANYFORMAT | SDL_SWSURFACE);
+ GraphicsManager::createWindow(640, 480, 0, SDL_ANYFORMAT | SDL_SWSURFACE);
#endif // USE_SDL2
userPalette = new UserPalette;