aboutsummaryrefslogtreecommitdiffstats
path: root/tools
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 /tools
parent5e504b36a1bc17df09fa28f1a26703023466f440 (diff)
Use the renamed qt_gl_global_share_context
Change-Id: I438c33a1dc83fd0cd1ec08bb4e4a1257a3216ca2 Reviewed-by: Laszlo Agocs <laszlo.agocs@digia.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/qmlscene/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/qmlscene/main.cpp b/tools/qmlscene/main.cpp
index b048337cad..908b198e2d 100644
--- a/tools/qmlscene/main.cpp
+++ b/tools/qmlscene/main.cpp
@@ -460,7 +460,7 @@ int main(int argc, char ** argv)
if (options.contextSharing) {
shareContext.reset(new QOpenGLContext);
shareContext->create();
- QOpenGLContextPrivate::setGlobalShareContext(shareContext.data());
+ qt_gl_set_global_share_context(shareContext.data());
}
int exitCode = 0;