summaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-08-19 00:09:48 +0300
committerAndrei Karas <akaras@inbox.ru>2013-08-19 12:14:51 +0300
commitf93aa1c4a5dc334a437ad8bc6c7ffa7a5417d19c (patch)
treec0a296616c53c29864e3e234f3332f2251108f97 /src/test
parent01a29fe1c2d464a79b0bf5c8d3d2760e3cc83817 (diff)
downloadmv-f93aa1c4a5dc334a437ad8bc6c7ffa7a5417d19c.tar.gz
mv-f93aa1c4a5dc334a437ad8bc6c7ffa7a5417d19c.tar.bz2
mv-f93aa1c4a5dc334a437ad8bc6c7ffa7a5417d19c.tar.xz
mv-f93aa1c4a5dc334a437ad8bc6c7ffa7a5417d19c.zip
fix dye for big endian system again.
Diffstat (limited to 'src/test')
-rw-r--r--src/test/testlauncher.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/test/testlauncher.cpp b/src/test/testlauncher.cpp
index 34a126a4e..12f58dcd8 100644
--- a/src/test/testlauncher.cpp
+++ b/src/test/testlauncher.cpp
@@ -240,21 +240,17 @@ int TestLauncher::testDye()
"graphics/sprites/arrow_up.png");
Dye *d = nullptr;
- logger->log("test1");
if (rw)
{
- logger->log("test2");
Image *image = d ? sdlImageHelper->load(rw, *d)
: sdlImageHelper->load(rw);
if (image)
{
- logger->log("test3");
const SDL_Rect &rect = image->mBounds;
SDL_Surface *surface = sdlImageHelper->create32BitSurface(
rect.w, rect.h);
if (surface)
{
- logger->log("test4");
SDL_gfxBlitRGBA(image->mSDLSurface, nullptr, surface, nullptr);
ImageWriter::writePNG(image->mSDLSurface,
Client::getTempDirectory() + "/testimage1.png");
@@ -262,7 +258,6 @@ int TestLauncher::testDye()
Client::getTempDirectory() + "/testimage2.png");
}
- logger->log("test5");
rw = PHYSFSRWOPS_openRead(
"graphics/sprites/arrow_up.png");
d = new Dye("S:#0000ff,00ff00,5c5cff,ff0000");
@@ -270,12 +265,10 @@ int TestLauncher::testDye()
: sdlImageHelper->load(rw);
if (image)
{
- logger->log("test6");
surface = sdlImageHelper->create32BitSurface(
rect.w, rect.h);
if (surface)
{
- logger->log("test7");
SDL_gfxBlitRGBA(image->mSDLSurface, nullptr,
surface, nullptr);
ImageWriter::writePNG(image->mSDLSurface,