diff options
Diffstat (limited to 'src/test/testlauncher.cpp')
-rw-r--r-- | src/test/testlauncher.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/test/testlauncher.cpp b/src/test/testlauncher.cpp index 12f58dcd8..b479ba9a3 100644 --- a/src/test/testlauncher.cpp +++ b/src/test/testlauncher.cpp @@ -24,8 +24,8 @@ #include "client.h" #include "configuration.h" -#include "graphics.h" #include "graphicsmanager.h" +#include "sdlgraphics.h" #include "soundmanager.h" #include "gui/theme.h" @@ -42,8 +42,6 @@ #include <unistd.h> -#include <SDL_gfxBlitFunc.h> - #ifdef WIN32 #include <windows.h> #define sleep(seconds) Sleep((seconds) * 1000) @@ -251,7 +249,8 @@ int TestLauncher::testDye() rect.w, rect.h); if (surface) { - SDL_gfxBlitRGBA(image->mSDLSurface, nullptr, surface, nullptr); + MSDL_gfxBlitRGBA(image->mSDLSurface, nullptr, + surface, nullptr); ImageWriter::writePNG(image->mSDLSurface, Client::getTempDirectory() + "/testimage1.png"); ImageWriter::writePNG(surface, @@ -269,7 +268,7 @@ int TestLauncher::testDye() rect.w, rect.h); if (surface) { - SDL_gfxBlitRGBA(image->mSDLSurface, nullptr, + MSDL_gfxBlitRGBA(image->mSDLSurface, nullptr, surface, nullptr); ImageWriter::writePNG(image->mSDLSurface, Client::getTempDirectory() + "/testimage3.png"); |