projects
/
profile
/
ivi
/
qtbase.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
af33765
)
Added link to the OpenGL window example from the QOpenGLContext docs.
author
Samuel Rødal
<samuel.rodal@nokia.com>
Thu, 30 Aug 2012 11:59:14 +0000
(13:59 +0200)
committer
Qt 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
patch
|
blob
|
history
diff --git
a/src/gui/kernel/qopenglcontext.cpp
b/src/gui/kernel/qopenglcontext.cpp
index
399b7ff
..
3c4665a
100644
(file)
--- 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