From a277b33296d0d87d8b711a0f36120ae6f4f47c3a Mon Sep 17 00:00:00 2001 From: beaglejoe Date: Sun, 5 Apr 2015 14:07:08 +0000 Subject: [PATCH] Added missing Audio flag to SDL_QuitSubSystem() git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@5947 30fe4595-0a0c-4342-8851-515496e4dcbd Former-commit-id: 9e6f8e9bd645994d5869bb4f30c8133ceb9fe94c Former-commit-id: 1d27cdd7f38f87b1d1505ca2f06e0f08ad6f0855 --- src/libs/tgfclient/guiscreen.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libs/tgfclient/guiscreen.cpp b/src/libs/tgfclient/guiscreen.cpp index 1ca4503b1..c114c4e85 100644 --- a/src/libs/tgfclient/guiscreen.cpp +++ b/src/libs/tgfclient/guiscreen.cpp @@ -879,7 +879,7 @@ void GfScrShutdown(void) GfLogTrace("Shutting down screen.\n"); // Shutdown SDL video sub-system. - SDL_QuitSubSystem(SDL_INIT_VIDEO); + SDL_QuitSubSystem(SDL_INIT_VIDEO | SDL_INIT_AUDIO); // If there's an 'in-test' screen properties section in the config file, // * if the test state is 'to do', do nothing (will be taken care of in next GfScrInit),