Use QFunctionPointer in QOpenGLContext as well.

Change-Id: I7192e6aea721c75257bfbd1d205d5ce7764d915f
Reviewed-by: Kim M. Kalland <kim.kalland@nokia.com>
This commit is contained in:
Samuel Rødal 2012-01-16 11:12:47 +01:00 committed by Qt by Nokia
parent 802c3580e0
commit e469323407
2 changed files with 2 additions and 2 deletions

View File

@ -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)

View File

@ -106,7 +106,7 @@ public:
void doneCurrent();
void swapBuffers(QSurface *surface);
void (*getProcAddress(const QByteArray &procName)) ();
QFunctionPointer getProcAddress(const QByteArray &procName);
QSurface *surface() const;