summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2022-06-07 15:41:22 +0200
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2022-06-09 16:58:57 +0000
commit319530c7b3d0e6b6dac42a92d00ce004ad8ea098 (patch)
treef256a46bc3d9b3648ca5157c65d341a189834354
parent5bdc8ff327eaabb033cfdd407484ad7a75b9bea4 (diff)
Fix build without opengl
Task-number: QTBUG-104057 Change-Id: I4d6335acf646e574c6f7df6747a0ed3198f206d1 Reviewed-by: Michal Klocek <michal.klocek@qt.io> (cherry picked from commit 64aea37067507c50178ee03eee9ad16a55bb7efe) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r--src/core/web_engine_context.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/web_engine_context.cpp b/src/core/web_engine_context.cpp
index e59415423..003808133 100644
--- a/src/core/web_engine_context.cpp
+++ b/src/core/web_engine_context.cpp
@@ -250,7 +250,7 @@ static const char *getGLType(bool enableGLSoftwareRendering, bool disableGpu)
return glType;
}
#else
-static const char *getGLType(bool enableGLSoftwareRendering)
+static const char *getGLType(bool enableGLSoftwareRendering, bool disableGpu)
{
return gl::kGLImplementationDisabledName;
}