X-Git-Url: https://git.jsancho.org/?p=lugaru.git;a=blobdiff_plain;f=Source%2FGameInitDispose.cpp;fp=Source%2FGameInitDispose.cpp;h=85be11836614665da639511091eef841efe2dee1;hp=a1e96031da4ccf4d13245e7a971ca721384b8097;hb=8f8250f231122f66e75fc83506dd51dbce948dd0;hpb=4ecda9ec4241bc59f14807ddef29ee45a2be903b diff --git a/Source/GameInitDispose.cpp b/Source/GameInitDispose.cpp index a1e9603..85be118 100644 --- a/Source/GameInitDispose.cpp +++ b/Source/GameInitDispose.cpp @@ -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()