Melchior FRANZ > * Vivian Meazza -- Wednesday 20 June 2007: > > On the one hand, if 3D clouds don't call the destructor, then that > > should be good enough for od-gauge. On the other hand, would not > > calling the destructor cause memory not to be released on exit? > > I could well imagine that at the end of the GL application > everything is freed, anyway. But I didn't find anything about > it on the net. The clouds don't destruct the RenderTexture > class at exit, simgear's TestRenderTexture app doesn't, not > even Mark HARRIS' own TestRenderTexture application does! ... > only od_gauge does, with little success. :-} > > (The instrument subsystem is apparently not > destroyed/recreated on reinit, so this wouldn't be a problem > either.) Hmm ... I just don't know ... :-/ > > m. >
There seems to be no difference after I removed the destructor here. I would say on the evidence of the 3d clouds etc. the one in od_gauge can safely be removed. V. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel