Disable fallback to dlsym() for INTEGRITY.

All symbols are available through eglGetProcAddress().

Change-Id: I636f9555f578dc5cf517995a4fcb01b0cd7f7698
Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com>
This commit is contained in:
Rolland Dudemaine 2016-03-23 22:10:24 +01:00
parent cd46a2daf5
commit 0f60f6811f

View File

@ -447,7 +447,7 @@ QFunctionPointer QEGLPlatformContext::getProcAddress(const char *procName)
{
eglBindAPI(m_api);
QFunctionPointer proc = (QFunctionPointer) eglGetProcAddress(procName);
#ifndef Q_OS_WIN
#if !defined(Q_OS_WIN) && !defined(Q_OS_INTEGRITY)
if (!proc)
proc = (QFunctionPointer) dlsym(RTLD_DEFAULT, procName);
#endif