From 91abe5a2abbb6a19dc37e8d2047d44473c37d6cb Mon Sep 17 00:00:00 2001 From: Erik Larsson Date: Wed, 2 Mar 2016 06:42:04 +0100 Subject: 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 --- src/hardwareintegration/client/wayland-egl/qwaylandglcontext.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/hardwareintegration/client/wayland-egl/qwaylandglcontext.cpp') diff --git a/src/hardwareintegration/client/wayland-egl/qwaylandglcontext.cpp b/src/hardwareintegration/client/wayland-egl/qwaylandglcontext.cpp index 927616216..bd835b7ec 100644 --- a/src/hardwareintegration/client/wayland-egl/qwaylandglcontext.cpp +++ b/src/hardwareintegration/client/wayland-egl/qwaylandglcontext.cpp @@ -575,9 +575,9 @@ bool QWaylandGLContext::isValid() const return m_context != EGL_NO_CONTEXT; } -void (*QWaylandGLContext::getProcAddress(const QByteArray &procName)) () +void (*QWaylandGLContext::getProcAddress(const char *procName)) () { - return eglGetProcAddress(procName.constData()); + return eglGetProcAddress(procName); } EGLConfig QWaylandGLContext::eglConfig() const -- cgit v1.2.3