diff options
Diffstat (limited to 'src/core/web_engine_context.cpp')
-rw-r--r-- | src/core/web_engine_context.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/web_engine_context.cpp b/src/core/web_engine_context.cpp index dadf9f36b..73ca9c603 100644 --- a/src/core/web_engine_context.cpp +++ b/src/core/web_engine_context.cpp @@ -232,7 +232,7 @@ WebEngineContext::WebEngineContext() if (usingANGLE() || usingSoftwareDynamicGL() || usingQtQuick2DRenderer()) { parsedCommandLine->AppendSwitch(switches::kDisableGpu); } else { - const char *glType; + const char *glType = 0; switch (QOpenGLContext::openGLModuleType()) { case QOpenGLContext::LibGL: glType = gfx::kGLImplementationDesktopName; |