diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-03-29 22:41:26 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-03-29 22:41:26 +0300 |
commit | 8f95378c3be89c06c722da03ddbd3641c4fc2323 (patch) | |
tree | 4f1c14fb0ba57793f8979df43ffd293533606e1b /src/resources/loaders | |
parent | fc31f1003bec7e0117421a8c58668e61849eeba5 (diff) | |
download | mv-8f95378c3be89c06c722da03ddbd3641c4fc2323.tar.gz mv-8f95378c3be89c06c722da03ddbd3641c4fc2323.tar.bz2 mv-8f95378c3be89c06c722da03ddbd3641c4fc2323.tar.xz mv-8f95378c3be89c06c722da03ddbd3641c4fc2323.zip |
Move rwops code into virtfs namespace.
Diffstat (limited to 'src/resources/loaders')
-rw-r--r-- | src/resources/loaders/imageloader.cpp | 2 | ||||
-rw-r--r-- | src/resources/loaders/musicloader.cpp | 2 | ||||
-rw-r--r-- | src/resources/loaders/soundloader.cpp | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/resources/loaders/imageloader.cpp b/src/resources/loaders/imageloader.cpp index 1a1805330..2bfba2706 100644 --- a/src/resources/loaders/imageloader.cpp +++ b/src/resources/loaders/imageloader.cpp @@ -63,7 +63,7 @@ namespace d = new Dye(path1.substr(p + 1)); path1 = path1.substr(0, p); } - SDL_RWops *const rw = VirtFs::RWopsOpenRead(path1); + SDL_RWops *const rw = VirtFs::rwopsOpenRead(path1); if (!rw) { delete d; diff --git a/src/resources/loaders/musicloader.cpp b/src/resources/loaders/musicloader.cpp index f1114b210..f23a9fc70 100644 --- a/src/resources/loaders/musicloader.cpp +++ b/src/resources/loaders/musicloader.cpp @@ -46,7 +46,7 @@ namespace return nullptr; const ResourceLoader *const rl = static_cast<const ResourceLoader *const>(v); - SDL_RWops *const rw = VirtFs::RWopsOpenRead(rl->path); + SDL_RWops *const rw = VirtFs::rwopsOpenRead(rl->path); if (!rw) { reportAlways("Error loading resource: %s", diff --git a/src/resources/loaders/soundloader.cpp b/src/resources/loaders/soundloader.cpp index b3429b20e..be71a5ddb 100644 --- a/src/resources/loaders/soundloader.cpp +++ b/src/resources/loaders/soundloader.cpp @@ -46,7 +46,7 @@ namespace return nullptr; const ResourceLoader *const rl = static_cast<const ResourceLoader *const>(v); - SDL_RWops *const rw = VirtFs::RWopsOpenRead(rl->path); + SDL_RWops *const rw = VirtFs::rwopsOpenRead(rl->path); if (!rw) { reportAlways("Error loading resource: %s", |