summaryrefslogtreecommitdiffstats
path: root/src/opengl/qgl_p.h
diff options
context:
space:
mode:
authorRhys Weatherley <rhys.weatherley@nokia.com>2009-10-02 00:23:46 (GMT)
committerRhys Weatherley <rhys.weatherley@nokia.com>2009-10-02 00:23:46 (GMT)
commit6ca9ba3b67695e18c1c57176d5d8849547517199 (patch)
tree601d9202ca3f330cada2f55befc139ed955fa0bf /src/opengl/qgl_p.h
parent99b5a05cf2a83cceb361e510e935902a943885f8 (diff)
downloadQt-6ca9ba3b67695e18c1c57176d5d8849547517199.zip
Qt-6ca9ba3b67695e18c1c57176d5d8849547517199.tar.gz
Qt-6ca9ba3b67695e18c1c57176d5d8849547517199.tar.bz2
Remove unnecessary reference to QGLContextGroup::extensionFuncs()
Reviewed-by: Andrew den Exter
Diffstat (limited to 'src/opengl/qgl_p.h')
-rw-r--r--src/opengl/qgl_p.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/opengl/qgl_p.h b/src/opengl/qgl_p.h
index 6b7e892..991c948 100644
--- a/src/opengl/qgl_p.h
+++ b/src/opengl/qgl_p.h
@@ -343,13 +343,11 @@ public:
#ifdef Q_WS_WIN
static inline QGLExtensionFuncs& extensionFuncs(const QGLContext *ctx) { return ctx->d_ptr->group->extensionFuncs(); }
- static inline QGLExtensionFuncs& extensionFuncs(QGLContextGroup *ctx) { return ctx->extensionFuncs(); }
#endif
#if defined(Q_WS_X11) || defined(Q_WS_MAC) || defined(Q_WS_QWS)
static QGLExtensionFuncs qt_extensionFuncs;
static inline QGLExtensionFuncs& extensionFuncs(const QGLContext *) { return qt_extensionFuncs; }
- static inline QGLExtensionFuncs& extensionFuncs(QGLContextGroup *) { return qt_extensionFuncs; }
#endif
static void setCurrentContext(QGLContext *context);