summaryrefslogtreecommitdiff
path: root/src/dyetool
diff options
context:
space:
mode:
Diffstat (limited to 'src/dyetool')
-rw-r--r--src/dyetool/dyemain.cpp4
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");