diff options
author | Laszlo Agocs <laszlo.agocs@digia.com> | 2014-08-28 17:18:46 +0200 |
---|---|---|
committer | Laszlo Agocs <laszlo.agocs@digia.com> | 2014-08-29 23:19:24 +0200 |
commit | ac11f250771adaeb8c1af3c46ba894a195db85b5 (patch) | |
tree | c149661baacc836f7ede67f9e5e9900f424f613a | |
parent | c2db9b6a48ac979057be640013655c815a153e21 (diff) |
Fix the dynamic build by not calling glGet directly
Change-Id: I97ee290c31ca4fa0ffc2f822f14bc7d5e34dd222
Reviewed-by: Gunnar Sletta <gunnar@sletta.org>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
-rw-r--r-- | src/quick/scenegraph/util/qsgtexture.cpp | 2 |
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(); |