Use QFunctionPointer in QOpenGLContext as well.
Change-Id: I7192e6aea721c75257bfbd1d205d5ce7764d915f Reviewed-by: Kim M. Kalland <kim.kalland@nokia.com>
This commit is contained in:
parent
802c3580e0
commit
e469323407
@ -310,7 +310,7 @@ void QOpenGLContext::swapBuffers(QSurface *surface)
|
||||
d->platformGLContext->swapBuffers(surfaceHandle);
|
||||
}
|
||||
|
||||
void (*QOpenGLContext::getProcAddress(const QByteArray &procName)) ()
|
||||
QFunctionPointer QOpenGLContext::getProcAddress(const QByteArray &procName)
|
||||
{
|
||||
Q_D(QOpenGLContext);
|
||||
if (!d->platformGLContext)
|
||||
|
@ -106,7 +106,7 @@ public:
|
||||
void doneCurrent();
|
||||
|
||||
void swapBuffers(QSurface *surface);
|
||||
void (*getProcAddress(const QByteArray &procName)) ();
|
||||
QFunctionPointer getProcAddress(const QByteArray &procName);
|
||||
|
||||
QSurface *surface() const;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user