X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fyoink;a=blobdiff_plain;f=src%2FMoof%2FEngine.cc;h=80a203e6989b368a86cb12c0790568fef0bc7b6c;hp=51a3af0f5bfb6d75d71cdaed34cb7bdd9518c3ac;hb=5250c138b1a692e4e893a8f424d2856e519fd652;hpb=57b78ebe21b1b48acd337daa5a1cb8c383959cfa diff --git a/src/Moof/Engine.cc b/src/Moof/Engine.cc index 51a3af0..80a203e 100644 --- a/src/Moof/Engine.cc +++ b/src/Moof/Engine.cc @@ -31,7 +31,6 @@ #include #include "fastevents.h" -#include #include #include "Dispatcher.hh" @@ -68,11 +67,6 @@ public: logError("fast events error: %s", FE_GetError()); throw Exception(Exception::SDL_ERROR); } - if (Sound_Init() == 0) - { - logError("sound initialization failed: %s", Sound_GetError()); - throw Exception(Exception::SDL_ERROR); - } alutInit(&argc, argv); Settings& settings = Settings::getInstance(); @@ -104,7 +98,6 @@ public: video.reset(); alutExit(); - Sound_Quit(); FE_Quit(); SDL_Quit(); }