diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-06-10 16:54:18 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-06-10 17:25:07 +0300 |
commit | 3a28edfb7ac991ad70a7baf76f48218d9db89bcb (patch) | |
tree | 918e56537dd2f7c2ce94e97a297a83a55d6f6ea6 /src/resources/resourcemanager.cpp | |
parent | f199b9ba7da47cb6f9aa95f843c0628621899aa9 (diff) | |
download | manaverse-3a28edfb7ac991ad70a7baf76f48218d9db89bcb.tar.gz manaverse-3a28edfb7ac991ad70a7baf76f48218d9db89bcb.tar.bz2 manaverse-3a28edfb7ac991ad70a7baf76f48218d9db89bcb.tar.xz manaverse-3a28edfb7ac991ad70a7baf76f48218d9db89bcb.zip |
Split ImageHelper to ImageHelper, SDLImageHelper, OpenGLImageHelper.
Diffstat (limited to 'src/resources/resourcemanager.cpp')
-rw-r--r-- | src/resources/resourcemanager.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/resources/resourcemanager.cpp b/src/resources/resourcemanager.cpp index 62a604ebe..37975cf16 100644 --- a/src/resources/resourcemanager.cpp +++ b/src/resources/resourcemanager.cpp @@ -457,8 +457,8 @@ struct DyedImageLoader delete d; return nullptr; } - Resource *res = d ? ImageHelper::load(rw, *d) - : ImageHelper::load(rw); + Resource *res = d ? imageHelper->load(rw, *d) + : imageHelper->load(rw); delete d; return res; } |