]> git.jsancho.org Git - lugaru.git/blobdiff - Source/GameInitDispose.cpp
OpenAL: Fix dispose logic on Linux
[lugaru.git] / Source / GameInitDispose.cpp
index a1e96031da4ccf4d13245e7a971ca721384b8097..85be11836614665da639511091eef841efe2dee1 100644 (file)
@@ -88,16 +88,11 @@ void Dispose()
 
     OPENAL_StopSound(OPENAL_ALL);
 
-// this is causing problems on Linux, but we'll force an _exit() a little
-//  later in the shutdown process.  --ryan.
-#if !PLATFORM_LINUX
-
     for (int i = 0; i < sounds_count; ++i) {
         OPENAL_Sample_Free(samp[i]);
     }
 
     OPENAL_Close();
-#endif
 }
 
 void Game::newGame()