R: [Plib-users] Status of freeglut and the main loop
                
                Brought to you by:
                
                    sjbaker
                    
                
            
            
        
        
        
    | 
      
      
      From: Paolo L. <p.l...@ci...> - 2003-02-27 08:52:25
      
     | 
| SkyFlash wrote: > Especially cause I have the well known problem that I need to deallocate > memory when the window exits, and GLUT wont do that cause it calls > exit(0). Couldn't you register the deallocation function to the atexit() mechanism? It isn't just at window close, yet it's sure before exiting. |