Le dimanche 10 février 2013 02:26:32 Kevin Fishburne a écrit : > I've read the comments about not using Quit when closing a non-console > application, including the suggestion that the main form be closed in > order to terminate execution. > > How do you close an SDL/OpenGL program? The main procedure has no Close > method and there are no forms (no Qt/GTK). It seems like the video RAM > isn't being freed when I close using Quit, requiring me to periodically > reboot my system (not even closing GAMBAS frees the VRAM). > > Thanks.
Just use the Close() method from the Window class. ++
signature.asc
Description: This is a digitally signed message part.
------------------------------------------------------------------------------ Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen firewall before the end March 2013 and get the hardware for free! Learn more. http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user