close and reopen a pfPipeWindow?

New Message Reply Date view Thread view Subject view Author view

Geoff Levner (geoff++at++mclink.it)
Tue, 27 Oct 1998 12:34:08 +0100


It seems like this should be simple, but it does not work. In order to
switch back and forth between mono and stereo, I want to close a
pfPipeWindow, then open it again with a different frame buffer
configuration:

    pfPipeWindow *pw;
    ...
    pw->close(); // or closeGL()
    pw->setFBConfigId(id); // or setFBConfigData()
    pw->open():

(This is done from the DRAW process.)

What happens is that the new frame buffer configuration is not taken
into account -- however it was configured at the start, that is how it
stays. What's more, after doing this a couple times, close() or
closeGL() starts generating warning messages:

    pfMemory::unrefGetRef() Attempt to unreference memory with 0
reference count.

Has anyone out there ever managed to do this?

Thanks,
Geoff

-- 
Geoff Levner -- geoff++at++mclink.it OR glevner++at++hotmail.com
ACS Studio, via Aurelia 58, 00165 Rome, Italy

New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Tue Oct 27 1998 - 03:40:23 PST

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.