View Full Version : wglShareLists

03-16-2004, 01:26 AM

I created a multiple view application. Each view (rendering context) has its own render thread (created using CreateThread(...) ). I want to use wglShareLists to be able to share textures and other stuff between my rendering contexts but wglShareLists does not work. Is it possible that I can't use it because I created my OpenGL contexts in different threads.

03-16-2004, 03:32 AM
Meanwhile I can anwser my question myself.
I found out that I must make the rendering contexts in the other threads not current (wglMakeCurrent(0, 0) ) before using wglShareLists. Otherwise they are busy and
wglShareLists fails.