diff options
Diffstat (limited to 'src/opengl_mesh.cc')
-rw-r--r-- | src/opengl_mesh.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/opengl_mesh.cc b/src/opengl_mesh.cc index f2f0981..01a73ff 100644 --- a/src/opengl_mesh.cc +++ b/src/opengl_mesh.cc @@ -7,7 +7,7 @@ OpenGLMesh::OpenGLMesh(QVector<float> verts, QOpenGLTexture *tex) :tex(tex) { OpenGLWidget::instance->makeCurrent(); - QOpenGLFunctions_4_4_Core *glf = OpenGLWidget::instance; + QOpenGLExtraFunctions *glf = OpenGLWidget::instance; nverts = verts.size() / 8; glf->glGenVertexArrays(1, &vao); glf->glBindVertexArray(vao); |