Flip it around. Animate the display in your main thread and load media in the new thread. I guess you'll have to do it in such a way that you're doing an intermediate load, so as not to interfere with OpenGL. That's to say, you would load from disk to memory, but not actually create any OpenGL Objects. But then if everything is in memory, it should only take a second or two to create the OpenGL objects from memory, so I think it ought to work acceptably. I was hoping to have tested this theory out by now but despite assurances that BlitzMax updates would be bundled up officially a bit more often, they haven't been.
OpenGL and Threads
BlitzMax Forums/BlitzMax Programming/OpenGL and ThreadsThe forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.