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 --- tools/qmlscene/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/qmlscene') 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; -- cgit v1.2.3