1
0
mirror of https://github.com/rwengine/openrw.git synced 2024-11-25 11:52:40 +01:00

Make sure SDL_Quit() is called on exit

This commit is contained in:
Sven Stucki 2016-09-01 22:58:06 +02:00
parent 95a0e31484
commit 449289c06a
2 changed files with 4 additions and 0 deletions

View File

@ -189,6 +189,8 @@ RWGame::~RWGame()
log.info("Game", "Cleaning up work queue");
delete work;
SDL_Quit();
log.info("Game", "Done cleaning up");
}

View File

@ -23,6 +23,8 @@ int main(int argc, char* argv[])
SDL_Log("Failed to show message box\n");
}
SDL_Quit();
return -1;
}
}