summaryrefslogtreecommitdiff
path: root/src/resources/loaders/imageloader.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/loaders/imageloader.cpp')
-rw-r--r--src/resources/loaders/imageloader.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/resources/loaders/imageloader.cpp b/src/resources/loaders/imageloader.cpp
index 4fada1f44..54f987bab 100644
--- a/src/resources/loaders/imageloader.cpp
+++ b/src/resources/loaders/imageloader.cpp
@@ -31,7 +31,7 @@
#include "resources/dye/dye.h"
#include "utils/checkutils.h"
-#include "utils/physfsrwops.h"
+#include "utils/virtfsrwops.h"
#include "debug.h"
@@ -62,7 +62,7 @@ namespace
d = new Dye(path1.substr(p + 1));
path1 = path1.substr(0, p);
}
- SDL_RWops *const rw = MPHYSFSRWOPS_openRead(path1.c_str());
+ SDL_RWops *const rw = VirtFs::RWopsOpenRead(path1.c_str());
if (!rw)
{
delete d;