wglShareLists

Hi,

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.

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.

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.