From 18380eb2e6443c2736b4958b01e7ba2fe2cfa318 Mon Sep 17 00:00:00 2001 From: Clyne Sullivan Date: Fri, 28 Apr 2017 15:28:18 -0400 Subject: ui menu fix --- src/window.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/window.cpp') 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, -- cgit v1.2.3