Commit 4ee493af authored by Sylvain Thery's avatar Sylvain Thery

add small function to make gl context available (for testing mt draw)

parent cf7681c9
...@@ -197,6 +197,11 @@ public: ...@@ -197,6 +197,11 @@ public:
*/ */
void setParamObject(float width, float* pos) { m_glWidget->setParamObject(width, pos); } void setParamObject(float width, float* pos) { m_glWidget->setParamObject(width, pos); }
/**
* make the contex of glWidget current
*/
void makeCurrent() { m_glWidget->makeCurrent();}
/** /**
* set focal * set focal
*/ */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment