summaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
Diffstat (limited to 'src/test')
-rw-r--r--src/test/testlauncher.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/test/testlauncher.cpp b/src/test/testlauncher.cpp
index 1752e4380..09a505e85 100644
--- a/src/test/testlauncher.cpp
+++ b/src/test/testlauncher.cpp
@@ -38,6 +38,7 @@
#include "resources/image.h"
#include "resources/imagehelper.h"
#include "resources/imagewriter.h"
+#include "resources/sdlimagehelper.h"
#include "resources/wallpaper.h"
#include <unistd.h>
@@ -249,7 +250,7 @@ int TestLauncher::testDye()
rect.w, rect.h);
if (surface)
{
- MSDL_gfxBlitRGBA(image->mSDLSurface, nullptr,
+ SDLImageHelper::combineSurface(image->mSDLSurface, nullptr,
surface, nullptr);
ImageWriter::writePNG(image->mSDLSurface,
client->getTempDirectory() + "/testimage1.png");
@@ -268,7 +269,7 @@ int TestLauncher::testDye()
rect.w, rect.h);
if (surface)
{
- MSDL_gfxBlitRGBA(image->mSDLSurface, nullptr,
+ SDLImageHelper::combineSurface(image->mSDLSurface, nullptr,
surface, nullptr);
ImageWriter::writePNG(image->mSDLSurface,
client->getTempDirectory() + "/testimage3.png");