aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/quick/scenegraph/util/qsgtexture.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/quick/scenegraph/util/qsgtexture.cpp b/src/quick/scenegraph/util/qsgtexture.cpp
index d1be19c299..4b3ff8bed5 100644
--- a/src/quick/scenegraph/util/qsgtexture.cpp
+++ b/src/quick/scenegraph/util/qsgtexture.cpp
@@ -679,7 +679,7 @@ void QSGPlainTexture::bind()
if (QSGRenderContext *rc = QSGRenderContext::from(context))
max = rc->maxTextureSize();
else
- glGetIntegerv(GL_MAX_TEXTURE_SIZE, &max);
+ funcs->glGetIntegerv(GL_MAX_TEXTURE_SIZE, &max);
if (tmp.width() > max || tmp.height() > max) {
tmp = tmp.scaled(qMin(max, tmp.width()), qMin(max, tmp.height()), Qt::IgnoreAspectRatio, Qt::SmoothTransformation);
m_texture_size = tmp.size();