Turn the system mouse cursor back on before VideoQuit().
This is good policy, so it doesn't have a chance to leave it hidden on targets that wouldn't necessarily reset it by default, but it also fixes a crash if you try to use a message box after SDL_Quit() is called. Fixes Bugzilla #1969.
This commit is contained in:
parent
52b4a55049
commit
5772df05d2
1 changed files with 2 additions and 0 deletions
|
@ -2247,6 +2247,8 @@ SDL_VideoQuit(void)
|
|||
|
||||
SDL_EnableScreenSaver();
|
||||
|
||||
SDL_ShowCursor(1);
|
||||
|
||||
/* Clean up the system video */
|
||||
while (_this->windows) {
|
||||
SDL_DestroyWindow(_this->windows);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue