diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-09-15 00:32:07 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-09-15 00:32:07 +0300 |
commit | 57288890689bfa2c2d35882169a539813be621f1 (patch) | |
tree | 8c2886837e997d073906cb85aee38c9d77a8069b /src/test | |
parent | 53947c9d39440424dcf815ea5df130e833457437 (diff) | |
download | plus-57288890689bfa2c2d35882169a539813be621f1.tar.gz plus-57288890689bfa2c2d35882169a539813be621f1.tar.bz2 plus-57288890689bfa2c2d35882169a539813be621f1.tar.xz plus-57288890689bfa2c2d35882169a539813be621f1.zip |
add RWops leaks reporting.
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/testlauncher.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/test/testlauncher.cpp b/src/test/testlauncher.cpp index 29b66e20e..82cfd4d6b 100644 --- a/src/test/testlauncher.cpp +++ b/src/test/testlauncher.cpp @@ -33,6 +33,7 @@ #include "utils/gettext.h" #include "utils/mkdir.h" +#include "utils/physfscheckutils.h" #include "utils/physfsrwops.h" #include "resources/dye.h" @@ -236,7 +237,7 @@ int TestLauncher::testInternal() int TestLauncher::testDye() { - SDL_RWops *rw = PHYSFSRWOPS_openRead( + SDL_RWops *rw = MPHYSFSRWOPS_openRead( "graphics/sprites/arrow_up.png"); Dye *d = nullptr; @@ -259,7 +260,7 @@ int TestLauncher::testDye() client->getTempDirectory() + "/testimage2.png"); } - rw = PHYSFSRWOPS_openRead( + rw = MPHYSFSRWOPS_openRead( "graphics/sprites/arrow_up.png"); d = new Dye("S:#0000ff,00ff00,5c5cff,ff0000"); image = d ? surfaceImageHelper->load(rw, *d) |