summaryrefslogtreecommitdiff
path: root/src/render/mobileopenglgraphics.cpp
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/render/mobileopenglgraphics.cpp
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/render/mobileopenglgraphics.cpp')
-rw-r--r--src/render/mobileopenglgraphics.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render/mobileopenglgraphics.cpp b/src/render/mobileopenglgraphics.cpp
index c22a7ac0f..c5faad5c9 100644
--- a/src/render/mobileopenglgraphics.cpp
+++ b/src/render/mobileopenglgraphics.cpp
@@ -1327,7 +1327,7 @@ void MobileOpenGLGraphics::clearScreen() const restrict2
void MobileOpenGLGraphics::debugBindTexture(const Image *restrict const image)
restrict2
{
- const std::string texture = image->getIdPath();
+ const std::string texture = image->mIdPath;
if (mOldTexture != texture)
{
if ((!mOldTexture.empty() || !texture.empty())