diff options
author | Kim Motoyoshi Kalland <kim.kalland@nokia.com> | 2009-08-31 15:42:50 (GMT) |
---|---|---|
committer | Kim Motoyoshi Kalland <kim.kalland@nokia.com> | 2009-08-31 15:42:50 (GMT) |
commit | 06a4cdba05e4865d02a09a5633c31c462ac00014 (patch) | |
tree | e9b26c9149389667c875408eec70c5c80f16c437 /src/opengl/qgl_p.h | |
parent | 6afcce6781845a2dfea1f78ddb4259b90c587e0d (diff) | |
download | Qt-06a4cdba05e4865d02a09a5633c31c462ac00014.zip Qt-06a4cdba05e4865d02a09a5633c31c462ac00014.tar.gz Qt-06a4cdba05e4865d02a09a5633c31c462ac00014.tar.bz2 |
Fixed initialization order in QGLContextGroup constructor.
Reviewed-by: Trond
Diffstat (limited to 'src/opengl/qgl_p.h')
-rw-r--r-- | src/opengl/qgl_p.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/opengl/qgl_p.h b/src/opengl/qgl_p.h index 517cdb3..a39c52c 100644 --- a/src/opengl/qgl_p.h +++ b/src/opengl/qgl_p.h @@ -203,7 +203,7 @@ public: QGLExtensionFuncs &extensionFuncs() {return m_extensionFuncs;} const QGLContext *context() const {return m_context;} private: - QGLContextGroup(const QGLContext *context) : m_refs(1), m_context(context) { } + QGLContextGroup(const QGLContext *context) : m_context(context), m_refs(1) { } QGLExtensionFuncs m_extensionFuncs; const QGLContext *m_context; // context group's representative |