daren 2002/04/06 14:17:13 PST
Modified files:
gamekernel/sample/aster GameBoard.h main.cpp
Log:
Bug fixed: Fixed a Segmentation Fault upon exiting. Basically, aster would call kernel->shutdown() once the user has hit the quit key,
and would then try to update the gameboard, which no longer existed, because the driver had already deallocated all of its memory.
This wouldn't be noticed using the Glut driver, because the glut driver's shutdown function calls exit().
Revision Changes Path
1.5 +1 -1 lib/gamekernel/sample/aster/GameBoard.h
1.6 +9 -10 lib/gamekernel/sample/aster/main.cpp
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/isugamedev/lib/gamekernel/sample/aster/GameBoard.h.diff?r1=1.4&r2=1.5&diff_format=h
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/isugamedev/lib/gamekernel/sample/aster/main.cpp.diff?r1=1.5&r2=1.6&diff_format=h
|