summaryrefslogtreecommitdiffstats
path: root/src/gui/opengl/qopenglfunctions.cpp
diff options
context:
space:
mode:
authorSamuel Rødal <samuel.rodal@nokia.com>2012-06-12 10:21:37 +0200
committerQt by Nokia <qt-info@nokia.com>2012-06-18 21:58:30 +0200
commit95427b0f40857c42ccf87e66d7bbf6fd2cc3ab83 (patch)
tree4086aeb2c3bda09f8286b804771f01455b2bf518 /src/gui/opengl/qopenglfunctions.cpp
parent7967cb4f4860df436dc2e7e21c4eaca6a9b05f70 (diff)
Fixed QOpenGLFunctions API.
We don't use the GL short term in the new API. Change-Id: I73a51f65f5f4216c1763b95dcddf68fe8fc229d1 Reviewed-by: Gunnar Sletta <gunnar.sletta@nokia.com> Reviewed-by: Sean Harmer <sean.harmer@kdab.com> Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
Diffstat (limited to 'src/gui/opengl/qopenglfunctions.cpp')
-rw-r--r--src/gui/opengl/qopenglfunctions.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/opengl/qopenglfunctions.cpp b/src/gui/opengl/qopenglfunctions.cpp
index f19d4735e1..3c77e92fed 100644
--- a/src/gui/opengl/qopenglfunctions.cpp
+++ b/src/gui/opengl/qopenglfunctions.cpp
@@ -446,10 +446,10 @@ bool QOpenGLExtensions::hasOpenGLExtension(QOpenGLExtensions::OpenGLExtension ex
After calling this function, the QOpenGLFunctions object can only be
used with the current context and other contexts that share with it.
- Call initializeGLFunctions() again to change the object's context
+ Call initializeOpenGLFunctions() again to change the object's context
association.
*/
-void QOpenGLFunctions::initializeGLFunctions()
+void QOpenGLFunctions::initializeOpenGLFunctions()
{
d_ptr = qt_gl_functions();
}