diff options
author | Jocelyn Turcotte <[email protected]> | 2014-07-01 19:20:25 +0200 |
---|---|---|
committer | Erik Verbruggen <[email protected]> | 2014-08-05 12:29:25 +0200 |
commit | ead09e6b1fbfceacb68ee0e2e721c723300b0df6 (patch) | |
tree | ec44837c9a1033c62806ad22ff6346473d6a9489 /src/quick/scenegraph/qsgthreadedrenderloop.cpp | |
parent | 5e504b36a1bc17df09fa28f1a26703023466f440 (diff) |
Use the renamed qt_gl_global_share_context
Change-Id: I438c33a1dc83fd0cd1ec08bb4e4a1257a3216ca2
Reviewed-by: Laszlo Agocs <[email protected]>
Diffstat (limited to 'src/quick/scenegraph/qsgthreadedrenderloop.cpp')
-rw-r--r-- | src/quick/scenegraph/qsgthreadedrenderloop.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/quick/scenegraph/qsgthreadedrenderloop.cpp b/src/quick/scenegraph/qsgthreadedrenderloop.cpp index 793a247427..84ae3f818b 100644 --- a/src/quick/scenegraph/qsgthreadedrenderloop.cpp +++ b/src/quick/scenegraph/qsgthreadedrenderloop.cpp @@ -889,8 +889,8 @@ void QSGThreadedRenderLoop::handleExposure(QQuickWindow *window) if (!w->thread->gl) { w->thread->gl = new QOpenGLContext(); - if (QOpenGLContextPrivate::globalShareContext()) - w->thread->gl->setShareContext(QOpenGLContextPrivate::globalShareContext()); + if (qt_gl_global_share_context()) + w->thread->gl->setShareContext(qt_gl_global_share_context()); w->thread->gl->setFormat(w->window->requestedFormat()); if (!w->thread->gl->create()) { const bool isEs = w->thread->gl->isOpenGLES(); |