Hello Carsten, "Carsten Neumann" <[email protected]> schrieb im Newsbeitrag news:[email protected]... >> >> Am I save to expect that the wglDeleteContext call also frees >> the resources allocated by the display lists of that context? > > that is the assumption made in Window::onDestroy, FWIW it does not seem > unreasonable to me. Do you observe that it's not working that way? > No, but I'm not sure how I can setup a reasonable test. How can I keep an eye on the graphic system memory?
>> Or do I >> have to take extra measures to clean up my window (e.g. resetting the >> scene manager explicitly)? > > You could make sure you destroy the scene first and then go through a > final > > activate(); > frameInit(); > frameExit(); > deactivate() > > sequence which will clean up things (specifically the cleanup happens in > frameExit). However, if you only want to get rid of the window and keep > the scene, you'd have to rely on the context destruction cleaning up > resources. > Yes, in times I'm sharing the scene between different windows. Best, Johannes ------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo _______________________________________________ Opensg-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/opensg-users
