From 95427b0f40857c42ccf87e66d7bbf6fd2cc3ab83 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20R=C3=B8dal?= Date: Tue, 12 Jun 2012 10:21:37 +0200 Subject: Fixed QOpenGLFunctions API. We don't use the GL short term in the new API. Change-Id: I73a51f65f5f4216c1763b95dcddf68fe8fc229d1 Reviewed-by: Gunnar Sletta Reviewed-by: Sean Harmer Reviewed-by: Lars Knoll --- src/gui/opengl/qopenglshaderprogram.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui/opengl/qopenglshaderprogram.cpp') diff --git a/src/gui/opengl/qopenglshaderprogram.cpp b/src/gui/opengl/qopenglshaderprogram.cpp index e9973be2abd..264a1985b66 100644 --- a/src/gui/opengl/qopenglshaderprogram.cpp +++ b/src/gui/opengl/qopenglshaderprogram.cpp @@ -594,7 +594,7 @@ bool QOpenGLShaderProgram::init() QOpenGLContext *context = const_cast(QOpenGLContext::currentContext()); if (!context) return false; - d->glfuncs->initializeGLFunctions(); + d->glfuncs->initializeOpenGLFunctions(); GLuint program = d->glfuncs->glCreateProgram(); if (!program) { qWarning() << "QOpenGLShaderProgram: could not create shader program"; -- cgit v1.2.3