Hi,

I have a MainForm and a PBuffer, I first create RC for the mainform and create RC for PBuffer, then use wglShareLists() to make them share the same resource.

I can render to PBuffer without problem if I don't create another RC. But If I create anoter form and create RC for it, then ShowModal. After I destroy the form, the PBuffer seems lost, can't get it rendered any more.

Any one can help?

Thanks,

Daniel