aboutsummaryrefslogtreecommitdiffstats
path: root/src/quickwidgets
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/quickwidgets
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/quickwidgets')
-rw-r--r--src/quickwidgets/qquickwidget.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/quickwidgets/qquickwidget.cpp b/src/quickwidgets/qquickwidget.cpp
index 91f4ac4bb7..fed39b18a5 100644
--- a/src/quickwidgets/qquickwidget.cpp
+++ b/src/quickwidgets/qquickwidget.cpp
@@ -631,8 +631,8 @@ void QQuickWidgetPrivate::createContext()
context = new QOpenGLContext;
context->setFormat(offscreenWindow->requestedFormat());
- if (QOpenGLContextPrivate::globalShareContext())
- context->setShareContext(QOpenGLContextPrivate::globalShareContext());
+ if (qt_gl_global_share_context())
+ context->setShareContext(qt_gl_global_share_context());
if (!context->create()) {
const bool isEs = context->isOpenGLES();
delete context;