summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qopenglcontext.h
diff options
context:
space:
mode:
authorGirish Ramakrishnan <girish.1.ramakrishnan@nokia.com>2012-04-13 15:53:50 -0700
committerQt by Nokia <qt-info@nokia.com>2012-04-16 04:21:49 +0200
commitd037d25c3d5236623371cf051aaf6a9e59792ba7 (patch)
treee61fea4c866bf46905065635c256e7faf96f727a /src/gui/kernel/qopenglcontext.h
parentf18a6c5fb569ab93e86ca4b75301a7495ba17768 (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.h2
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;