diff options
author | Laszlo Agocs <[email protected]> | 2014-04-24 17:14:41 +0200 |
---|---|---|
committer | The Qt Project <[email protected]> | 2014-04-25 18:47:33 +0200 |
commit | 50d7c049e3310d4d9194c2efb5150e4e5a50e5ca (patch) | |
tree | 5188942587b52f35d8972bd3cef84872f70d62dd /src/quick/scenegraph/qsgthreadedrenderloop.cpp | |
parent | a1eb1348ff8026a6c623981d06142769dc18ec78 (diff) |
Follow QOpenGLContext API renaming
Task-number: QTBUG-38564
Change-Id: Ice1170339f7d650fcb6accfccf325471629343d6
Reviewed-by: Sean Harmer <[email protected]>
Diffstat (limited to 'src/quick/scenegraph/qsgthreadedrenderloop.cpp')
-rw-r--r-- | src/quick/scenegraph/qsgthreadedrenderloop.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/quick/scenegraph/qsgthreadedrenderloop.cpp b/src/quick/scenegraph/qsgthreadedrenderloop.cpp index 3ded6b8ca2..0aa30280e5 100644 --- a/src/quick/scenegraph/qsgthreadedrenderloop.cpp +++ b/src/quick/scenegraph/qsgthreadedrenderloop.cpp @@ -954,7 +954,7 @@ void QSGThreadedRenderLoop::handleExposure(Window *w) w->thread->gl->setShareContext(QOpenGLContextPrivate::globalShareContext()); w->thread->gl->setFormat(w->window->requestedFormat()); if (!w->thread->gl->create()) { - const bool isEs = w->thread->gl->isES(); + const bool isEs = w->thread->gl->isOpenGLES(); delete w->thread->gl; w->thread->gl = 0; handleContextCreationFailure(w->window, isEs); |