diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-01-19 00:45:39 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-01-19 00:45:39 +0300 |
commit | ae70ae002eb3b28b84ed9027a6e1d20985f6a087 (patch) | |
tree | 6832dab3552bb27a4376a64a84c7c24a603fdc72 /src/resources/loaders/imageloader.cpp | |
parent | a5e3bb0e1600c36da180a47c4c6a0a0b9a260a7c (diff) | |
download | plus-ae70ae002eb3b28b84ed9027a6e1d20985f6a087.tar.gz plus-ae70ae002eb3b28b84ed9027a6e1d20985f6a087.tar.bz2 plus-ae70ae002eb3b28b84ed9027a6e1d20985f6a087.tar.xz plus-ae70ae002eb3b28b84ed9027a6e1d20985f6a087.zip |
Add physfs reporting errors on error loading images.
Diffstat (limited to 'src/resources/loaders/imageloader.cpp')
-rw-r--r-- | src/resources/loaders/imageloader.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/resources/loaders/imageloader.cpp b/src/resources/loaders/imageloader.cpp index 87abf97bb..21e7479f4 100644 --- a/src/resources/loaders/imageloader.cpp +++ b/src/resources/loaders/imageloader.cpp @@ -67,6 +67,7 @@ namespace { delete d; reportAlways("Image loading error: %s", path1.c_str()); + reportAlways("Physfs error: %s", PhysFs::getLastError()); BLOCK_END("DyedImageLoader::load") return nullptr; } |