From 179e13363899112b9a1181eb10e0754b583a63eb Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 8 Apr 2017 23:03:50 +0300 Subject: Fix compilation error with SDL 2. --- src/render/mobileopenglgraphics.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/render/mobileopenglgraphics.cpp') 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()) -- cgit v1.2.3-70-g09d2