summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel
diff options
context:
space:
mode:
authorSamuel Rødal <samuel.rodal@nokia.com>2012-08-30 13:59:14 +0200
committerQt by Nokia <qt-info@nokia.com>2012-09-11 12:09:47 +0200
commitce0c3c49b1dc5812c4e84d7a037695a53d764b7e (patch)
tree9f819680752c23792350f4bc8f567aba693b5a50 /src/gui/kernel
parentaf33765b577bb3b8049f95ee40dc66d3f93ca969 (diff)
Added link to the OpenGL window example from the QOpenGLContext docs.
Change-Id: I650c61422485dfcb2fcc661a839294aa98b18e80 Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>
Diffstat (limited to 'src/gui/kernel')
-rw-r--r--src/gui/kernel/qopenglcontext.cpp3
1 files changed, 3 insertions, 0 deletions
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