diff --git a/include/Utils/Qt/qtSimple.h b/include/Utils/Qt/qtSimple.h index 3cd0b2aa7c7b43f3bd1a917bea9d9920651f5b35..2d00b62a5422e64d1e9d3d96b545956f54a4b888 100644 --- a/include/Utils/Qt/qtSimple.h +++ b/include/Utils/Qt/qtSimple.h @@ -197,6 +197,11 @@ public: */ void setParamObject(float width, float* pos) { m_glWidget->setParamObject(width, pos); } + /** + * make the contex of glWidget current + */ + void makeCurrent() { m_glWidget->makeCurrent();} + /** * set focal */