diff options
Diffstat (limited to 'src/webengine/api/qtwebengineglobal.cpp')
-rw-r--r-- | src/webengine/api/qtwebengineglobal.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/webengine/api/qtwebengineglobal.cpp b/src/webengine/api/qtwebengineglobal.cpp index 7340d32d1..0a1d6a449 100644 --- a/src/webengine/api/qtwebengineglobal.cpp +++ b/src/webengine/api/qtwebengineglobal.cpp @@ -44,7 +44,6 @@ #include <QGuiApplication> #include <QThread> #include <private/qopenglcontext_p.h> -#include <private/qsgcontext_p.h> static QOpenGLContext *shareContext; @@ -72,10 +71,6 @@ void QWebEngine::initialize() shareContext = new QOpenGLContext; shareContext->create(); qAddPostRoutine(deleteShareContext); -#if (QT_VERSION < QT_VERSION_CHECK(5, 3, 0)) - QSGContext::setSharedOpenGLContext(shareContext); -#else QOpenGLContextPrivate::setGlobalShareContext(shareContext); -#endif } |