From ce0c3c49b1dc5812c4e84d7a037695a53d764b7e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20R=C3=B8dal?= Date: Thu, 30 Aug 2012 13:59:14 +0200 Subject: Added link to the OpenGL window example from the QOpenGLContext docs. Change-Id: I650c61422485dfcb2fcc661a839294aa98b18e80 Reviewed-by: Eskil Abrahamsen Blomfeldt --- src/gui/kernel/qopenglcontext.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/gui') diff --git a/src/gui/kernel/qopenglcontext.cpp b/src/gui/kernel/qopenglcontext.cpp index 399b7ff121..3c4665a078 100644 --- a/src/gui/kernel/qopenglcontext.cpp +++ b/src/gui/kernel/qopenglcontext.cpp @@ -116,6 +116,9 @@ QMutex QOpenGLContextPrivate::makeCurrentTrackerMutex; For more information about the OpenGL API, refer to the official \l{OpenGL documentation}. + For an example of how to use QOpenGLContext see the + \l{gui/openglwindow}{OpenGL Window} example. + \section1 Thread affinity QOpenGLContext can be moved to a different thread with moveToThread(). Do -- cgit v1.2.3