From 0f06601bc69d08baaa6c5b11c03e59ac818c426e Mon Sep 17 00:00:00 2001 From: ccolin Date: Mon, 4 Jan 2021 13:34:34 +0100 Subject: fix misc rendering issue --- src/opengl_mesh.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'src/opengl_mesh.cc') diff --git a/src/opengl_mesh.cc b/src/opengl_mesh.cc index 8ad3336..e54938d 100644 --- a/src/opengl_mesh.cc +++ b/src/opengl_mesh.cc @@ -33,4 +33,5 @@ void OpenGLMesh::draw(QOpenGLExtraFunctions *f, const QMatrix4x4 &mat) const { f->glDrawArrays(GL_TRIANGLES, 0, nverts); if (tex) tex->release(); f->glBindVertexArray(0); + program->release(); } -- cgit v1.2.3-70-g09d2