summaryrefslogtreecommitdiff
path: root/src/resources/loaders/rescaledloader.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/loaders/rescaledloader.cpp')
-rw-r--r--src/resources/loaders/rescaledloader.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/resources/loaders/rescaledloader.cpp b/src/resources/loaders/rescaledloader.cpp
index e4a9112f1..8f77103ff 100644
--- a/src/resources/loaders/rescaledloader.cpp
+++ b/src/resources/loaders/rescaledloader.cpp
@@ -53,7 +53,7 @@ namespace
if (!rescaled)
{
reportAlways("Rescale image failed: %s",
- rl->image->getIdPath().c_str());
+ rl->image->mIdPath.c_str());
return nullptr;
}
return rescaled;
@@ -68,7 +68,7 @@ Image *Loader::getRescaled(const Image *const image,
if (!image)
return nullptr;
- const std::string idPath = image->getIdPath() + strprintf(
+ const std::string idPath = image->mIdPath + strprintf(
"_rescaled%dx%d", width, height);
const RescaledLoader rl = { image, width, height };
Image *const img = static_cast<Image *const>(