summaryrefslogtreecommitdiff
path: root/src/resources
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-04-08 23:03:50 +0300
committerAndrei Karas <akaras@inbox.ru>2017-04-08 23:03:50 +0300
commit179e13363899112b9a1181eb10e0754b583a63eb (patch)
treee62bbb898d597f831922c561e651ef4a91600b4e /src/resources
parent6f6cd2724b55415e2c6f6247ca656941a8e5d5bd (diff)
downloadmanaverse-179e13363899112b9a1181eb10e0754b583a63eb.tar.gz
manaverse-179e13363899112b9a1181eb10e0754b583a63eb.tar.bz2
manaverse-179e13363899112b9a1181eb10e0754b583a63eb.tar.xz
manaverse-179e13363899112b9a1181eb10e0754b583a63eb.zip
Fix compilation error with SDL 2.
Diffstat (limited to 'src/resources')
-rw-r--r--src/resources/image/subimage.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/resources/image/subimage.cpp b/src/resources/image/subimage.cpp
index 20ed676d7..7d936ecbf 100644
--- a/src/resources/image/subimage.cpp
+++ b/src/resources/image/subimage.cpp
@@ -44,12 +44,12 @@ SubImage::SubImage(Image *const parent,
mHasAlphaChannel = mParent->hasAlphaChannel();
mIsAlphaVisible = mHasAlphaChannel;
mAlphaChannel = mParent->SDLgetAlphaChannel();
- mSource = parent->getIdPath();
+ mSource = parent->mIdPath;
#ifdef DEBUG_IMAGES
logger->log("set name2 %p, %s", this, mSource.c_str());
#endif // DEBUG_IMAGES
#ifdef DEBUG_BIND_TEXTURE
- mIdPath = parent->getIdPath();
+ mIdPath = parent->mIdPath;
#endif // DEBUG_BIND_TEXTURE
}
else