View Full Version : generating display list
05-26-2002, 09:09 AM
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?
05-26-2002, 04:04 PM
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)...
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.