[SDL] Proper way to move OpenGL context between threads?

Sam Lantinga slouken at devolution.com
Fri Jun 2 10:42:56 PDT 2006


> 1) Safely expose the OpenGL context switching calls directly so I don't
> have to "go big" and call SetVideoMode() redundantly.

This is the approach that will be taken in SDL 1.3.  Until then, you'll
have to modify your version of SDL to do the same thing.  Feel free to
post a patch, if you think other people might benefit.

See ya!
	-Sam Lantinga, Senior Software Engineer, Blizzard Entertainment




More information about the SDL mailing list