summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesus Fernandez <jesus.fernandez@qt.io>2017-09-20 12:17:56 +0200
committerJesus Fernandez <Jesus.Fernandez@qt.io>2017-09-20 10:25:34 +0000
commitea8884c16aa9919a9cf3a8b85bf9463dc53fb82c (patch)
treee91582bb21dca1015824262df5c8cd0c1ce9d128
parent572fc94b52f9fe48ba1deb6816219aff8ebf3866 (diff)
Remove qCCritical
The qCCritical was warning about not available functions in QWebGLContext::getProcAddress. This function is called during the creating the OpenGL context is not giving any useful information about the usage of the functions. Change-Id: Ic5ef6b7c3da5752363845e4423aa9ae01a47f103 Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
-rw-r--r--src/plugins/platforms/webgl/qwebglcontext.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/plugins/platforms/webgl/qwebglcontext.cpp b/src/plugins/platforms/webgl/qwebglcontext.cpp
index 151693d..d52eb6e 100644
--- a/src/plugins/platforms/webgl/qwebglcontext.cpp
+++ b/src/plugins/platforms/webgl/qwebglcontext.cpp
@@ -2452,7 +2452,6 @@ QFunctionPointer QWebGLContext::getProcAddress(const char *procName)
for (auto i = 0u; i < size; ++i)
if (strcmp(procName, funcTab[i].name) == 0)
return funcTab[i].func;
- qCCritical(lc, "%s function not available", procName);
return nullptr;
}