From ead09e6b1fbfceacb68ee0e2e721c723300b0df6 Mon Sep 17 00:00:00 2001 From: Jocelyn Turcotte Date: Tue, 1 Jul 2014 19:20:25 +0200 Subject: Use the renamed qt_gl_global_share_context Change-Id: I438c33a1dc83fd0cd1ec08bb4e4a1257a3216ca2 Reviewed-by: Laszlo Agocs --- src/quick/scenegraph/qsgrenderloop.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/quick/scenegraph/qsgrenderloop.cpp') 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; -- cgit v1.2.3