summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qopenglcontext.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/kernel/qopenglcontext.cpp')
-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