|
From: James W. W. <ja...@wr...> - 2004-11-16 00:47:04
|
Dair Grant <da...@re...> wrote: >Could we just keep a proxy GL context around at all time? That seems to >be the approach they're talking about in QA1031 - something like: > > - texture manager creates a fake gl context on demand > - texture manager creates/updates gl textures for qd3d textures > - renderer creates contexts that are shared with the TM context > - texture manager disposes of fake gl context on shutdown I can imagine how this might work on the Mac, since you can create a GL context without specifying a drawable for it. But on Windows, you have to pass in an HDC when you create the context, and I would expect that if the HDC is destroyed, the context becomes unusable. -- James W. Walker, ScriptPerfection Enterprises, Inc. <http://www.write-brain.com/> |