summaryrefslogtreecommitdiff
path: root/src/test/testlauncher.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-08-24 15:31:36 +0300
committerAndrei Karas <akaras@inbox.ru>2013-08-24 21:08:17 +0300
commitb70bbf075a20524e6c1859fb18db0865c65182ca (patch)
treed5c4974d004da809b2e723b2b883faabfb95ae2f /src/test/testlauncher.cpp
parent8f670620dbf4c8092e9f834f9d65cbc607b81511 (diff)
downloadmv-b70bbf075a20524e6c1859fb18db0865c65182ca.tar.gz
mv-b70bbf075a20524e6c1859fb18db0865c65182ca.tar.bz2
mv-b70bbf075a20524e6c1859fb18db0865c65182ca.tar.xz
mv-b70bbf075a20524e6c1859fb18db0865c65182ca.zip
move surface combination into sdlimagehelper.
Diffstat (limited to 'src/test/testlauncher.cpp')
-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");