summaryrefslogtreecommitdiffstats
path: root/src/core/web_engine_context.cpp
diff options
context:
space:
mode:
authorMichael BrĂ¼ning <michael.bruning@digia.com>2014-07-30 18:34:12 +0200
committerMichael Bruning <michael.bruning@digia.com>2014-07-30 18:56:40 +0200
commiteb0c93a3507bbfbacf5e535c81eb85d412cb7238 (patch)
tree84adc5f7f40bef86cf4f0dee5edb014a82676557 /src/core/web_engine_context.cpp
parenta99922affdc7953f092dcfcf34ea741567a5bddc (diff)
Disable unstable features on Windows.
Both WebGL and D3D11 in the ANGLE layer are buggy in QtWebEngine on Windows due to the usage of OpenGL from different threads. Change-Id: Ia7ee7ced7cad6b09d862ca5fa897a7184b9de298 Reviewed-by: Andras Becsi <andras.becsi@digia.com>
Diffstat (limited to 'src/core/web_engine_context.cpp')
-rw-r--r--src/core/web_engine_context.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/web_engine_context.cpp b/src/core/web_engine_context.cpp
index 4623b0aab..82a6872a0 100644
--- a/src/core/web_engine_context.cpp
+++ b/src/core/web_engine_context.cpp
@@ -141,6 +141,8 @@ WebEngineContext::WebEngineContext()
#if defined(OS_WIN)
// FIXME: The renderer process should be fixed on windows.
parsedCommandLine->AppendSwitch(switches::kSingleProcess);
+ parsedCommandLine->AppendSwitch(switches::kDisableD3D11);
+ parsedCommandLine->AppendSwitch(switches::kDisableExperimentalWebGL);
#endif
#if defined(QTWEBENGINE_MOBILE_SWITCHES)