aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/scenegraph/qsgrenderloop.cpp
diff options
context:
space:
mode:
authorJocelyn Turcotte <jocelyn.turcotte@digia.com>2014-07-01 19:20:25 +0200
committerErik Verbruggen <erik.verbruggen@digia.com>2014-08-05 12:29:25 +0200
commitead09e6b1fbfceacb68ee0e2e721c723300b0df6 (patch)
treeec44837c9a1033c62806ad22ff6346473d6a9489 /src/quick/scenegraph/qsgrenderloop.cpp
parent5e504b36a1bc17df09fa28f1a26703023466f440 (diff)
Use the renamed qt_gl_global_share_context
Change-Id: I438c33a1dc83fd0cd1ec08bb4e4a1257a3216ca2 Reviewed-by: Laszlo Agocs <laszlo.agocs@digia.com>
Diffstat (limited to 'src/quick/scenegraph/qsgrenderloop.cpp')
-rw-r--r--src/quick/scenegraph/qsgrenderloop.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/quick/scenegraph/qsgrenderloop.cpp b/src/quick/scenegraph/qsgrenderloop.cpp
index 73b64b4f9b..064d363412 100644
--- a/src/quick/scenegraph/qsgrenderloop.cpp
+++ b/src/quick/scenegraph/qsgrenderloop.cpp
@@ -334,8 +334,8 @@ void QSGGuiThreadRenderLoop::renderWindow(QQuickWindow *window)
if (!gl) {
gl = new QOpenGLContext();
gl->setFormat(window->requestedFormat());
- if (QOpenGLContextPrivate::globalShareContext())
- gl->setShareContext(QOpenGLContextPrivate::globalShareContext());
+ if (qt_gl_global_share_context())
+ gl->setShareContext(qt_gl_global_share_context());
if (!gl->create()) {
const bool isEs = gl->isOpenGLES();
delete gl;