From 934e6b25927e13ad69a63c30b409b024c69d50f4 Mon Sep 17 00:00:00 2001 From: ccolin Date: Sat, 2 Jan 2021 16:00:44 +0100 Subject: improve opengl portability --- src/opengl_mesh.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/opengl_mesh.cc') 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 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); -- cgit v1.2.3-70-g09d2