diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-05-25 14:13:51 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-05-25 14:13:51 +0300 |
commit | e2f03241a1ba9d6b536b0b7a6f995e4e8d894408 (patch) | |
tree | 2bfd5cda7899a5793de62b5f47925a09eac320f5 /src/dyetool | |
parent | 59271755dc75f5de6c288308df92f687deaa32b4 (diff) | |
download | plus-e2f03241a1ba9d6b536b0b7a6f995e4e8d894408.tar.gz plus-e2f03241a1ba9d6b536b0b7a6f995e4e8d894408.tar.bz2 plus-e2f03241a1ba9d6b536b0b7a6f995e4e8d894408.tar.xz plus-e2f03241a1ba9d6b536b0b7a6f995e4e8d894408.zip |
Move images load function from resourcemanager into separate file.
Diffstat (limited to 'src/dyetool')
-rw-r--r-- | src/dyetool/dyemain.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/dyetool/dyemain.cpp b/src/dyetool/dyemain.cpp index 3c97585c2..4a94e76ed 100644 --- a/src/dyetool/dyemain.cpp +++ b/src/dyetool/dyemain.cpp @@ -32,6 +32,8 @@ #include "resources/surfaceimagehelper.h" #endif +#include "resources/loaders/imageloader.h" + #include "resources/resourcemanager/resourcemanager.h" #include "utils/gettext.h" @@ -95,7 +97,7 @@ int main(int argc, char **argv) dst = argv[2]; } - Image *image = resourceManager->getImage(src); + Image *image = ImageLoader::getImage(src); if (!image) { printf("Error loading image\n"); |