Ogre version: Ogre 14, compiled from the repo, 10 commits behind master.
I am creating a mesh in a thread different from the rendering thread.
It happens that GL buffers cannot be created outside the thread that holds the GL context. So, when I try to create the hardware buffers, an exception occurs:
https://github.com/andre-caldas/ParaCAD ... h.cpp#L245
Where the throwing happens:
https://github.com/OGRECave/ogre/blob/d ... er.cpp#L51
I am using an Ogre::ManualResourceLoader. So, I realized that probably there is someway to ask some "resource loading worker thread" to get the resource loaded by the proper thread.
How can I do that? How can I call "reload()" on the mesh and have the loading executed by the appropriate "background thread"?
PS: Probably I am doing things in a totally wrong way...