From b4bcc50c324146c18be60131f0aa9430335a6cfc Mon Sep 17 00:00:00 2001 From: Giuseppe D'Angelo Date: Sat, 7 Feb 2015 21:33:00 +0100 Subject: QOpenGLVertexArrayObject: remove a now unnecessary initialize call Change-Id: I03a14c52dd5a02de0c1cc1c2df5d4529acff9acd Reviewed-by: Sean Harmer --- src/gui/opengl/qopenglvertexarrayobject.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/gui/opengl/qopenglvertexarrayobject.cpp') diff --git a/src/gui/opengl/qopenglvertexarrayobject.cpp b/src/gui/opengl/qopenglvertexarrayobject.cpp index d8979fd98f7..0fc140b3efd 100644 --- a/src/gui/opengl/qopenglvertexarrayobject.cpp +++ b/src/gui/opengl/qopenglvertexarrayobject.cpp @@ -168,12 +168,10 @@ bool QOpenGLVertexArrayObjectPrivate::create() if (format.version() >= qMakePair(3,2)) { vaoFuncs.core_3_2 = ctx->versionFunctions(); vaoFuncsType = Core_3_2; - vaoFuncs.core_3_2->initializeOpenGLFunctions(); vaoFuncs.core_3_2->glGenVertexArrays(1, &vao); } else if (format.majorVersion() >= 3) { vaoFuncs.core_3_0 = ctx->versionFunctions(); vaoFuncsType = Core_3_0; - vaoFuncs.core_3_0->initializeOpenGLFunctions(); vaoFuncs.core_3_0->glGenVertexArrays(1, &vao); } else #endif -- cgit v1.2.3