PDA

View Full Version : Global display lists



PeterK
12-21-2000, 03:48 PM
I am writing an MDI application in Win32 and I have a rendering context and a windows device context embedded in each view window.

When a view window dies, its rendering context dies with it.

How can I create display lists that will exist for the duration of the application and that will be accessible by all rendering contexts?

RandyU
12-21-2000, 07:40 PM
There is a wglShareLists procedure
Maybe you should create a dummy context that dies only with application.

PeterK
12-22-2000, 07:12 AM
Thanks. I'll give it a try.

PeterK
12-22-2000, 09:37 AM
I'm still working on it. Any ideas on how to do it?