diff options
author | Girish Ramakrishnan <girish.1.ramakrishnan@nokia.com> | 2012-04-13 15:53:50 -0700 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-04-16 04:21:49 +0200 |
commit | d037d25c3d5236623371cf051aaf6a9e59792ba7 (patch) | |
tree | e61fea4c866bf46905065635c256e7faf96f727a /src/gui/kernel/qopenglcontext.h | |
parent | f18a6c5fb569ab93e86ca4b75301a7495ba17768 (diff) |
api: fix constness of QOpenGLContext::getProcAddress
Should be const just like Qt4's QGLContext::getProcAddress.
Change-Id: I273467d5cf852cd49f48cec3f335c4ddac795363
Reviewed-by: Gunnar Sletta <gunnar.sletta@nokia.com>
Diffstat (limited to 'src/gui/kernel/qopenglcontext.h')
-rw-r--r-- | src/gui/kernel/qopenglcontext.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/kernel/qopenglcontext.h b/src/gui/kernel/qopenglcontext.h index 5e1cd17635..efb65ae3e7 100644 --- a/src/gui/kernel/qopenglcontext.h +++ b/src/gui/kernel/qopenglcontext.h @@ -115,7 +115,7 @@ public: void doneCurrent(); void swapBuffers(QSurface *surface); - QFunctionPointer getProcAddress(const QByteArray &procName); + QFunctionPointer getProcAddress(const QByteArray &procName) const; QSurface *surface() const; |