summaryrefslogtreecommitdiff
path: root/src/render/modernopenglgraphics.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/render/modernopenglgraphics.cpp')
-rw-r--r--src/render/modernopenglgraphics.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render/modernopenglgraphics.cpp b/src/render/modernopenglgraphics.cpp
index 84843098c..c4f886314 100644
--- a/src/render/modernopenglgraphics.cpp
+++ b/src/render/modernopenglgraphics.cpp
@@ -1333,7 +1333,7 @@ void ModernOpenGLGraphics::drawLineArrays(const int size)
void ModernOpenGLGraphics::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())