diff -r c27612f0eac0 -r 48c66a4b1fe5 src/gl/compiler.cpp --- a/src/gl/compiler.cpp Sun Jun 26 19:44:45 2022 +0300 +++ b/src/gl/compiler.cpp Sun Jun 26 20:26:09 2022 +0300 @@ -349,8 +349,7 @@ } const GLsizeiptr size = static_cast(vector.size() * sizeof vector[0]); object.buffer.bind(); - QOpenGLFunctions glfunc; - glfunc.glBufferSubData(GL_ARRAY_BUFFER, 0, size, vector.data()); + glfunc().glBufferSubData(GL_ARRAY_BUFFER, 0, size, vector.data()); object.buffer.release(); } }