summaryrefslogtreecommitdiff
path: root/src/resources/atlas
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-02-10 21:57:08 +0300
committerAndrei Karas <akaras@inbox.ru>2017-02-10 23:23:35 +0300
commit4d3c700bf736def3c55f7e03c175e2e43ed3db02 (patch)
treeac8330eeda18c938a5e685940fbfa4ec289bce7b /src/resources/atlas
parentc6277401fb4dafbe08bac534e0de7796f70a0d19 (diff)
downloadmanaverse-4d3c700bf736def3c55f7e03c175e2e43ed3db02.tar.gz
manaverse-4d3c700bf736def3c55f7e03c175e2e43ed3db02.tar.bz2
manaverse-4d3c700bf736def3c55f7e03c175e2e43ed3db02.tar.xz
manaverse-4d3c700bf736def3c55f7e03c175e2e43ed3db02.zip
Rename physfsrwops into virtfsrwops.
Diffstat (limited to 'src/resources/atlas')
-rw-r--r--src/resources/atlas/atlasmanager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/resources/atlas/atlasmanager.cpp b/src/resources/atlas/atlasmanager.cpp
index 7299e76d3..e3c6e685b 100644
--- a/src/resources/atlas/atlasmanager.cpp
+++ b/src/resources/atlas/atlasmanager.cpp
@@ -30,7 +30,7 @@
#include "utils/mathutils.h"
#include "utils/physfscheckutils.h"
-#include "utils/physfsrwops.h"
+#include "utils/virtfsrwops.h"
#include "utils/sdlcheckutils.h"
#include "resources/openglimagehelper.h"
@@ -149,7 +149,7 @@ void AtlasManager::loadImages(const StringVect &files,
path = path.substr(0, p);
}
- SDL_RWops *const rw = MPHYSFSRWOPS_openRead(path.c_str());
+ SDL_RWops *const rw = VirtFs::RWopsOpenRead(path.c_str());
if (rw)
{
Image *const image = d ? surfaceImageHelper->load(rw, *d)