Shared contexts with MiniB3D? MT

BlitzMax Forums/MiniB3D Module/Shared contexts with MiniB3D? MT

ima747(Posted 2010) [#1]
Is it possible to use shared contexts with minib3d? I'm just getting my feet wet in openGL proper so correct me if I'm off base with anything.

I would like to create textures from a second thread, since openGL contexts are tied to a thread I need to enable shared contexts (which I think should be automatic since minib3d uses Max2D gl driver which sets up a shared context if you ask it to and attaches it to any new displays you make...) but then I think minib3d stays focused on the main draw context all the time... which will send my child thread calls there and cause unhappiness. So if I understand it correctly my child thread should be loading into it's own context... how might I got about that?