diff options
author | Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> | 2015-02-07 21:33:00 +0100 |
---|---|---|
committer | Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> | 2015-02-08 00:22:07 +0000 |
commit | b4bcc50c324146c18be60131f0aa9430335a6cfc (patch) | |
tree | 85037d0074b4662129c9245183492defbdaeb83e /src/gui | |
parent | 4d19c3a35461a2cfe3caa076e262188cc8d5128b (diff) |
QOpenGLVertexArrayObject: remove a now unnecessary initialize call
Change-Id: I03a14c52dd5a02de0c1cc1c2df5d4529acff9acd
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/opengl/qopenglvertexarrayobject.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gui/opengl/qopenglvertexarrayobject.cpp b/src/gui/opengl/qopenglvertexarrayobject.cpp index d8979fd98f..0fc140b3ef 100644 --- a/src/gui/opengl/qopenglvertexarrayobject.cpp +++ b/src/gui/opengl/qopenglvertexarrayobject.cpp @@ -168,12 +168,10 @@ bool QOpenGLVertexArrayObjectPrivate::create() if (format.version() >= qMakePair<int, int>(3,2)) { vaoFuncs.core_3_2 = ctx->versionFunctions<QOpenGLFunctions_3_2_Core>(); 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<QOpenGLFunctions_3_0>(); vaoFuncsType = Core_3_0; - vaoFuncs.core_3_0->initializeOpenGLFunctions(); vaoFuncs.core_3_0->glGenVertexArrays(1, &vao); } else #endif |