Global display lists

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?

There is a wglShareLists procedure
Maybe you should create a dummy context that dies only with application.

Thanks. I’ll give it a try.

I’m still working on it. Any ideas on how to do it?