1
0
Fork 0

Show the mouse cursor again, just before exiting. This could prevent an X windows crash for certain harware setups.

This commit is contained in:
ehofman 2004-08-15 16:53:11 +00:00
parent 5cd465354c
commit d88f31fda2

View file

@ -1507,6 +1507,7 @@ void fgReshape( int width, int height ) {
// do some clean up on exit. Specifically we want to call alutExit() // do some clean up on exit. Specifically we want to call alutExit()
// which happens in the sound manager destructor. // which happens in the sound manager destructor.
void fgExitCleanup() { void fgExitCleanup() {
fgSetMouseCursor(MOUSE_CURSOR_POINTER);
delete globals; delete globals;
// fgOSExit(0); // fgOSExit(0);
} }