diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-09-18 18:57:19 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-09-18 18:57:19 +0300 |
commit | e7537ca6033a13ff1d21aac4a61a49ef325684b6 (patch) | |
tree | 5495e120bbb8108677fcdcde1cbc77a2417fc5d3 /src/test | |
parent | 0f7c14085321a54ad8c442041d3a26f5dfed5fd1 (diff) | |
download | manaverse-e7537ca6033a13ff1d21aac4a61a49ef325684b6.tar.gz manaverse-e7537ca6033a13ff1d21aac4a61a49ef325684b6.tar.bz2 manaverse-e7537ca6033a13ff1d21aac4a61a49ef325684b6.tar.xz manaverse-e7537ca6033a13ff1d21aac4a61a49ef325684b6.zip |
Move imagewriter into utils directory and rename to pnglib.
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/testlauncher.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/test/testlauncher.cpp b/src/test/testlauncher.cpp index c7331df49..d5df688a7 100644 --- a/src/test/testlauncher.cpp +++ b/src/test/testlauncher.cpp @@ -33,13 +33,13 @@ #include "gui/fonts/font.h" +#include "utils/pnglib.h" #include "utils/stringutils.h" #include "render/graphics.h" #include "render/vertexes/imagecollection.h" -#include "resources/imagewriter.h" #include "resources/openglimagehelper.h" #include "resources/screenshothelper.h" #include "resources/surfaceimagehelper.h" @@ -476,9 +476,9 @@ int TestLauncher::testDye() { SurfaceImageHelper::combineSurface(image->mSDLSurface, nullptr, surface, nullptr); - ImageWriter::writePNG(image->mSDLSurface, + PngLib::writePNG(image->mSDLSurface, settings.tempDir + "/testimage1.png"); - ImageWriter::writePNG(surface, + PngLib::writePNG(surface, settings.tempDir + "/testimage2.png"); } @@ -494,9 +494,9 @@ int TestLauncher::testDye() { SurfaceImageHelper::combineSurface(image->mSDLSurface, nullptr, surface, nullptr); - ImageWriter::writePNG(image->mSDLSurface, + PngLib::writePNG(image->mSDLSurface, settings.tempDir + "/testimage3.png"); - ImageWriter::writePNG(surface, + PngLib::writePNG(surface, settings.tempDir + "/testimage4.png"); } } |