From 7fba691110f3c85974b18edb760303e0b0993787 Mon Sep 17 00:00:00 2001 From: Laszlo Agocs Date: Fri, 7 Mar 2014 12:36:23 +0100 Subject: [PATCH] Docs: Clarify QOpenGLFunctions::functions() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Ifb6fdc3de7f93a1632b396eaaa14078546cac4dd Reviewed-by: Jørgen Lind Reviewed-by: Sean Harmer --- src/gui/kernel/qopenglcontext.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/gui/kernel/qopenglcontext.cpp b/src/gui/kernel/qopenglcontext.cpp index fb7d15c1603..7ccdd7395b3 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 {