summaryrefslogtreecommitdiffstats
path: root/src/opengl/qgl_p.h
diff options
context:
space:
mode:
authorJørgen Lind <jorgen.lind@nokia.com>2011-01-20 07:44:27 (GMT)
committerJørgen Lind <jorgen.lind@nokia.com>2011-01-25 18:07:35 (GMT)
commit37207d16cb51616c0b506dcc57126ff06c9073a9 (patch)
treee6079db4b9f9e1ee014d14086be79b6967adf98a /src/opengl/qgl_p.h
parentfd28a6ab14fc3c54c443718d405eeb9f98c7dd27 (diff)
downloadQt-37207d16cb51616c0b506dcc57126ff06c9073a9.zip
Qt-37207d16cb51616c0b506dcc57126ff06c9073a9.tar.gz
Qt-37207d16cb51616c0b506dcc57126ff06c9073a9.tar.bz2
Make QGLContext::fromPlatformGLContext show correct sharing
information. Prior to this, if a context was created with QGLWidget it would setup the sharing correct, but all sharing actually created on a QPlatformGLContext level was ignored by the QGLContext, thus indicating that it wasnt sharing with any other context.
Diffstat (limited to 'src/opengl/qgl_p.h')
-rw-r--r--src/opengl/qgl_p.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/opengl/qgl_p.h b/src/opengl/qgl_p.h
index ca8bc55..858a915 100644
--- a/src/opengl/qgl_p.h
+++ b/src/opengl/qgl_p.h
@@ -373,6 +373,7 @@ public:
#if defined(Q_WS_QPA)
QPlatformGLContext *platformContext;
+ void setupSharing();
#elif defined(Q_WS_X11) || defined(Q_WS_MAC)
void* cx;
#endif