Render to Texture


I do an environment mapping activeX with 5 pbuffers.
Unfortunately, I’ve got a problem with the render-to-texture technique.
I run my program with this environment mapping.

Ok, then, with a right-clic, I open a new form with a new instance of my
activeX which manage the environment mapping.
The two work great.

But, when I close the second form, the first one become all white ?! (it seems that mapping doesn’t work any more)

Do you know why ??
Have you got any clue ?
Where could I find article or site about that ?

Thanks a lot for your help

Standard Answer #1 What is glGetError() telling you?