diff options
author | Laszlo Agocs <laszlo.agocs@digia.com> | 2014-04-24 17:14:41 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-04-25 18:47:33 +0200 |
commit | 50d7c049e3310d4d9194c2efb5150e4e5a50e5ca (patch) | |
tree | 5188942587b52f35d8972bd3cef84872f70d62dd /src/quick/scenegraph/qsgdefaultimagenode.cpp | |
parent | a1eb1348ff8026a6c623981d06142769dc18ec78 (diff) |
Follow QOpenGLContext API renaming
Task-number: QTBUG-38564
Change-Id: Ice1170339f7d650fcb6accfccf325471629343d6
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'src/quick/scenegraph/qsgdefaultimagenode.cpp')
-rw-r--r-- | src/quick/scenegraph/qsgdefaultimagenode.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/quick/scenegraph/qsgdefaultimagenode.cpp b/src/quick/scenegraph/qsgdefaultimagenode.cpp index 9113d1e447..d925b1c7c4 100644 --- a/src/quick/scenegraph/qsgdefaultimagenode.cpp +++ b/src/quick/scenegraph/qsgdefaultimagenode.cpp @@ -362,7 +362,7 @@ void QSGDefaultImageNode::updateGeometry() QOpenGLContext *ctx = QOpenGLContext::currentContext(); #ifndef QT_OPENGL_ES_2 - if (ctx->isES()) + if (ctx->isOpenGLES()) #endif { bool npotSupported = ctx->functions()->hasOpenGLFeature(QOpenGLFunctions::NPOTTextureRepeat); |