I have an application that creates a rendering window and renders to it. That works fine.
The application loads at start-up various plugins. Now I would like to allow the plugins to render some of their stuff into the rendering window of the main application.
But it doesn't work. I proceed as following: once the main application has set-up everything for rendering, I callback the plugins, that call some openGl functions, typically rendering a triangle.
What am I doing wrong?
I suspect that the plugins are loading the openGl library a second time into memory.
How can I achive what I want to achieve?
Any help is appreciated!