diff --git a/examples/common/OpenGLWidget.inl b/examples/common/OpenGLWidget.inl index 5edbd3ce..6aaabf7f 100644 --- a/examples/common/OpenGLWidget.inl +++ b/examples/common/OpenGLWidget.inl @@ -40,7 +40,7 @@ void OpenGLWidget::setCameraTransform(QVector3D position, template void OpenGLWidget::initializeGL() { - if (!initializeOpenGLFunctions()) + if (!this->initializeOpenGLFunctions()) { std::cerr << "Could not initialize OpenGL functions" << std::endl; exit(EXIT_FAILURE);