diff options
Diffstat (limited to 'src/hardwareintegration/client/brcm-egl/qwaylandbrcmeglintegration.cpp')
-rw-r--r-- | src/hardwareintegration/client/brcm-egl/qwaylandbrcmeglintegration.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/hardwareintegration/client/brcm-egl/qwaylandbrcmeglintegration.cpp b/src/hardwareintegration/client/brcm-egl/qwaylandbrcmeglintegration.cpp index c9ebb96b4..ca4b653af 100644 --- a/src/hardwareintegration/client/brcm-egl/qwaylandbrcmeglintegration.cpp +++ b/src/hardwareintegration/client/brcm-egl/qwaylandbrcmeglintegration.cpp @@ -90,13 +90,13 @@ void QWaylandBrcmEglIntegration::initialize(QWaylandDisplay *waylandDisplay) qWarning("failed to resolve eglFlushBRCM, performance will suffer"); } - eglCreateGlobalImageBRCM = ::eglCreateGlobalImageBRCM; + eglCreateGlobalImageBRCM = (PFNEGLCREATEGLOBALIMAGEBRCMPROC)eglGetProcAddress("eglCreateGlobalImageBRCM"); if (!eglCreateGlobalImageBRCM) { qWarning("failed to resolve eglCreateGlobalImageBRCM"); return; } - eglDestroyGlobalImageBRCM = ::eglDestroyGlobalImageBRCM; + eglDestroyGlobalImageBRCM = (PFNEGLDESTROYGLOBALIMAGEBRCMPROC)eglGetProcAddress("eglDestroyGlobalImageBRCM"); if (!eglDestroyGlobalImageBRCM) { qWarning("failed to resolve eglDestroyGlobalImageBRCM"); return; |