[SDL] OpenGL and Multithreading
g_sdl at zewt.org
Sat Oct 4 11:10:01 PDT 2003
On Sat, Oct 04, 2003 at 04:06:57PM +0200, Pontus Pihlgren wrote:
> I does not seam that I can create a GL-window in one thread an draw to it using
> gl functions in another, is this true, and why? Memory is shared between
> threads and so the gl function should have access to the gl state?
Windows requires that the OpenGL context be selected into the thread
before rendering, and a context can only be selected into one thread at
I don't know about other archs.
More information about the SDL