summaryrefslogtreecommitdiffstats
path: root/src/opengl/qgl_p.h
diff options
context:
space:
mode:
authorKim Motoyoshi Kalland <kim.kalland@nokia.com>2009-08-31 15:42:50 (GMT)
committerKim Motoyoshi Kalland <kim.kalland@nokia.com>2009-08-31 15:42:50 (GMT)
commit06a4cdba05e4865d02a09a5633c31c462ac00014 (patch)
treee9b26c9149389667c875408eec70c5c80f16c437 /src/opengl/qgl_p.h
parent6afcce6781845a2dfea1f78ddb4259b90c587e0d (diff)
downloadQt-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.h2
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