diff --git a/src/webengine/api/qtwebengineglobal.cpp b/src/webengine/api/qtwebengineglobal.cpp index f45f7663fced827a2ef23ec6e500b3378e0b88e0..11dbccfacd30ff2edd7826900b92055f6e4f920c 100644 --- a/src/webengine/api/qtwebengineglobal.cpp +++ b/src/webengine/api/qtwebengineglobal.cpp @@ -74,6 +74,10 @@ void initialize() if (shareContext) return; +#ifdef Q_OS_WIN32 + qputenv("QT_D3DCREATE_MULTITHREADED", "1"); +#endif + shareContext = new QOpenGLContext; shareContext->create(); qAddPostRoutine(deleteShareContext);