diff options
Diffstat (limited to 'src/resources/ambientlayer.cpp')
-rw-r--r-- | src/resources/ambientlayer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/resources/ambientlayer.cpp b/src/resources/ambientlayer.cpp index 6c8e22893..f75300367 100644 --- a/src/resources/ambientlayer.cpp +++ b/src/resources/ambientlayer.cpp @@ -28,7 +28,7 @@ #include "resources/image.h" #include "resources/imagehelper.h" -#include "resources/resourcemanager/resourcemanager.h" +#include "resources/loaders/rescaledloader.h" #include "debug.h" @@ -66,7 +66,7 @@ AmbientLayer::AmbientLayer(const std::string &name, { // Rescale the overlay to keep the ratio as if we were on // the default resolution... - Image *const rescaledOverlay = resourceManager->getRescaled( + Image *const rescaledOverlay = Loader::getRescaled( mImage, CAST_S32(mImage->mBounds.w) / defaultScreenWidth * width, |