generating display list

Hi!

I need to create DL in a working thread, but it doesn’t works. I used wglMakeCurrent() function but it hasn’t taken an effect. Anyone knows how to solve this?

Just checking, but are you trying to render to the same context in another thread? If I remember things correctly, a wgl context may only be current to a single thread at a time…

If you really want to do the ‘render in one thread, build lists in another’ thing, then you must create two contexts and use wglShareLists… In the end, though, I don’t think you’d see any performance gains from this (which I assume is your goal)…