summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel
diff options
context:
space:
mode:
authorLaszlo Agocs <laszlo.agocs@digia.com>2014-03-07 12:36:23 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-03-15 10:44:20 +0100
commit7fba691110f3c85974b18edb760303e0b0993787 (patch)
tree32b00df0de38f4cc644d8f3d61c7f603512bc449 /src/gui/kernel
parent2bbdc6358f73ce167140bace821d606e720c0ded (diff)
Docs: Clarify QOpenGLFunctions::functions()
Change-Id: Ifb6fdc3de7f93a1632b396eaaa14078546cac4dd Reviewed-by: Jørgen Lind <jorgen.lind@digia.com> Reviewed-by: Sean Harmer <sean.harmer@kdab.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 fb7d15c160..7ccdd7395b 100644
--- a/src/gui/kernel/qopenglcontext.cpp
+++ b/src/gui/kernel/qopenglcontext.cpp
@@ -578,6 +578,9 @@ bool QOpenGLContext::isValid() const
without having to manage it manually.
The context or a sharing context must be current.
+
+ The returned QOpenGLFunctions instance is ready to be used and it
+ does not need initializeOpenGLFunctions() to be called.
*/
QOpenGLFunctions *QOpenGLContext::functions() const
{