[SDL] SDL Threads: graphics and events in separate contexts?

Brian brian.ripoff at gmail.com
Sun Jan 6 11:38:13 PST 2008


Graphics, in general, must be done from the thread main() is in. So
simply swap the tasks around: opengl in main() and event processing in
spawned one.

On Jan 6, 2008 5:34 PM, Vladimir Pouzanov <farcaller at gmail.com> wrote:
> Is it possible to run OpenGL render loop and event processing loop in
> different threads (event in main, render in SDL_CreateThread-spawned one)?


More information about the SDL mailing list