From 06a4cdba05e4865d02a09a5633c31c462ac00014 Mon Sep 17 00:00:00 2001 From: Kim Motoyoshi Kalland Date: Mon, 31 Aug 2009 17:42:50 +0200 Subject: Fixed initialization order in QGLContextGroup constructor. Reviewed-by: Trond --- src/opengl/qgl_p.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v0.12