summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--qtwebglplugin.pro2
-rw-r--r--src/plugins/platforms/webgl/qwebglcontext.cpp1
2 files changed, 2 insertions, 1 deletions
diff --git a/qtwebglplugin.pro b/qtwebglplugin.pro
index 384a14a..c3e385d 100644
--- a/qtwebglplugin.pro
+++ b/qtwebglplugin.pro
@@ -1,3 +1,3 @@
-requires(!winrt:qtHaveModule(websockets):qtHaveModule(gui):qtConfig(opengles2))
+requires(!winrt:!macos:qtHaveModule(websockets):qtHaveModule(gui))
load(qt_parts)
diff --git a/src/plugins/platforms/webgl/qwebglcontext.cpp b/src/plugins/platforms/webgl/qwebglcontext.cpp
index afa5368..e3c25bf 100644
--- a/src/plugins/platforms/webgl/qwebglcontext.cpp
+++ b/src/plugins/platforms/webgl/qwebglcontext.cpp
@@ -2452,6 +2452,7 @@ 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;
}