summaryrefslogtreecommitdiffstats
path: root/src/hardwareintegration/client/brcm-egl/qwaylandbrcmglcontext.cpp
diff options
context:
space:
mode:
authorErik Larsson <erik@ortogonal.com>2016-03-02 06:42:04 +0100
committerErik Larsson <erik@ortogonal.com>2016-03-02 08:26:38 +0000
commit91abe5a2abbb6a19dc37e8d2047d44473c37d6cb (patch)
tree5086d13c1636d7ea2aeb9f650c022a19e7e1cc00 /src/hardwareintegration/client/brcm-egl/qwaylandbrcmglcontext.cpp
parent1edfb6651b4433fe0b0681eb40f1472757640dda (diff)
Use getProcAddress(const char*) to work with updates in QOpenGLContext
QOpenGLContext changed the getProcAddress overload to use const char* instead of QByteArray in commit (qtbase 29d8159c4478a5275d2ea102daf270a91ed7e92e). Change-Id: Idce613ebd06daeb111fd76ebee89a82182d028d5 Reviewed-by: Giulio Camuffo <giulio.camuffo@kdab.com>
Diffstat (limited to 'src/hardwareintegration/client/brcm-egl/qwaylandbrcmglcontext.cpp')
-rw-r--r--src/hardwareintegration/client/brcm-egl/qwaylandbrcmglcontext.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/hardwareintegration/client/brcm-egl/qwaylandbrcmglcontext.cpp b/src/hardwareintegration/client/brcm-egl/qwaylandbrcmglcontext.cpp
index 9fcd7b2f1..a14f6b024 100644
--- a/src/hardwareintegration/client/brcm-egl/qwaylandbrcmglcontext.cpp
+++ b/src/hardwareintegration/client/brcm-egl/qwaylandbrcmglcontext.cpp
@@ -92,9 +92,9 @@ void QWaylandBrcmGLContext::swapBuffers(QPlatformSurface *surface)
static_cast<QWaylandBrcmEglWindow *>(surface)->swapBuffers();
}
-void (*QWaylandBrcmGLContext::getProcAddress(const QByteArray &procName)) ()
+void (*QWaylandBrcmGLContext::getProcAddress(const char *procName)) ()
{
- return eglGetProcAddress(procName.constData());
+ return eglGetProcAddress(procName);
}
EGLConfig QWaylandBrcmGLContext::eglConfig() const