Added link to the OpenGL window example from the QOpenGLContext docs.
authorSamuel Rødal <samuel.rodal@nokia.com>
Thu, 30 Aug 2012 11:59:14 +0000 (13:59 +0200)
committerQt by Nokia <qt-info@nokia.com>
Tue, 11 Sep 2012 10:09:47 +0000 (12:09 +0200)
Change-Id: I650c61422485dfcb2fcc661a839294aa98b18e80
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>
src/gui/kernel/qopenglcontext.cpp

index 399b7ff..3c4665a 100644 (file)
@@ -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