Show the mouse cursor again, just before exiting. This could prevent an X windows crash for certain harware setups.
This commit is contained in:
parent
5cd465354c
commit
d88f31fda2
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue