dungeon_crawler

diff prototype/src/main.cc @ 39:060a44040577

forgot to set it up so cleanup is called on exit
author John Tsiombikas <nuclear@member.fsf.org>
date Thu, 30 Aug 2012 01:15:23 +0300
parents 862461b686f4
children acfe0c0110fc
line diff
     1.1 --- a/prototype/src/main.cc	Wed Aug 29 03:22:36 2012 +0300
     1.2 +++ b/prototype/src/main.cc	Thu Aug 30 01:15:23 2012 +0300
     1.3 @@ -63,6 +63,7 @@
     1.4  	if(!init(cfg.width, cfg.height)) {
     1.5  		return 1;
     1.6  	}
     1.7 +	atexit(cleanup);
     1.8  
     1.9  	glutMainLoop();
    1.10  }