diff options
-rw-r--r-- | qtwebglplugin.pro | 2 | ||||
-rw-r--r-- | src/plugins/platforms/webgl/qwebglcontext.cpp | 1 |
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; } |