summaryrefslogtreecommitdiffstats
path: root/src/gui/opengl/qopenglframebufferobject.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/qopenglframebufferobject.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/qopenglframebufferobject.cpp')
-rw-r--r--src/gui/opengl/qopenglframebufferobject.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/opengl/qopenglframebufferobject.cpp b/src/gui/opengl/qopenglframebufferobject.cpp
index ea75dd4cdf..2fc45fd2c9 100644
--- a/src/gui/opengl/qopenglframebufferobject.cpp
+++ b/src/gui/opengl/qopenglframebufferobject.cpp
@@ -384,7 +384,7 @@ void QOpenGLFramebufferObjectPrivate::init(QOpenGLFramebufferObject *, const QSi
{
QOpenGLContext *ctx = QOpenGLContext::currentContext();
- funcs.initializeGLFunctions();
+ funcs.initializeOpenGLFunctions();
if (!funcs.hasOpenGLFeature(QOpenGLFunctions::Framebuffers))
return;