aboutsummaryrefslogtreecommitdiffstats
path: root/src/window.cpp
diff options
context:
space:
mode:
authorClyne Sullivan <tullivan99@gmail.com>2017-04-28 15:28:18 -0400
committerClyne Sullivan <tullivan99@gmail.com>2017-04-28 15:28:18 -0400
commit18380eb2e6443c2736b4958b01e7ba2fe2cfa318 (patch)
tree32a32d9061613445702f05ff64f42206ee27848f /src/window.cpp
parentcbfec643e85c2ca6516195bec8df77c33525a87f (diff)
ui menu fix
Diffstat (limited to 'src/window.cpp')
-rw-r--r--src/window.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/window.cpp b/src/window.cpp
index 7d8f8e7..df584be 100644
--- a/src/window.cpp
+++ b/src/window.cpp
@@ -35,6 +35,7 @@ WindowSystem::WindowSystem(void)
}
Mix_AllocateChannels(8);
atexit(Mix_Quit);
+ atexit(Mix_CloseAudio);
// create the SDL window object
window = SDL_CreateWindow(WINDOW_TITLE,